Export

Code

/* Saffron Rice — colorset.net */
:root {
  --color-1: #F4C430;
  --color-2: #F7CE47;
  --color-3: #FAD85E;
  --color-4: #FDE275;
  --color-5: #FFEC8C;

  --color-bg: #FAF7E8;
  --color-surface: #F1EEDF;
  --color-border: #D9D5C3;
  --color-text: #604A00;
  --color-muted: #73694F;
  --color-primary: #A88400;
  --color-on-primary: #000000;
  --color-accent: #8A7400;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #150E00;
    --color-surface: #201905;
    --color-border: #362D15;
    --color-text: #F3ECC6;
    --color-muted: #8B866A;
    --color-primary: #F4C430;
    --color-on-primary: #150E00;
    --color-accent: #FFEC8C;
    --color-on-accent: #150E00;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundadjusted for contrast · from #FFEC8Cadjusted for contrast · from #F4C430
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #F4C430adjusted for contrast · from #FFEC8C
Muted textderivedderived
Primaryadjusted for contrast · from #F4C430from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #F4C430from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.89:1AAA pass 4.5:1
Text on surface7.28:1AAA pass 4.5:1
Muted text on background5.06:1AA pass 4.5:1
Label on primary5.97:1AA pass 4.5:1
Label on accent4.59:1AA pass 4.5:1
Primary on background3.27:1AA Large pass 3:1
Accent on background4.27:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background16.10:1AAA pass 4.5:1
Text on surface14.65:1AAA pass 4.5:1
Muted text on background5.22:1AA pass 4.5:1
Label on primary11.68:1AAA pass 4.5:1
Label on accent16.10:1AAA pass 4.5:1
Primary on background11.68:1AAA pass 3:1
Accent on background16.10:1AAA pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#F4C430 (Text 1)#F7CE47 (Text 2)#FAD85E (Text 3)#FDE275 (Text 4)#FFEC8C (Text 5)
#F4C430Same color1.09—1.18—1.28—1.38—
#F7CE471.09—Same color1.08—1.18—1.27—
#FAD85E1.18—1.08—Same color1.08—1.17—
#FDE2751.28—1.18—1.08—Same color1.08—
#FFEC8C1.38—1.27—1.17—1.08—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#F4C430#F7CE47#FAD85E#FDE275#FFEC8C

Variations

About Saffron Rice

Saffron Rice is a warm yellow palette of 5 colors that runs from pale yellow #FFEC8C to light yellow #F4C430. With a hue spread of just 9°, it is effectively monochromatic: #F4C430, #F7CE47 and #FAD85E differ mostly in lightness. All five colors stay in a narrow light band (84% to 94% lightness, #F4C430 to #FFEC8C), so text and background roles are adjusted for contrast. Saturation is medium (mean OKLCH chroma 0.142, peaking at 0.160 in #F4C430); the colors are clear without being loud. As a UI theme it uses #A88400 for primary actions and #8A7400 as the accent; dark mode sits on #150E00 with #F3ECC6 text (16.1:1). With #F4C430 leading, good fits include signage, cheerful landing pages and documentation.

Saffron Rice color palette: #F4C430, #F7CE47, #FAD85E, #FDE275, #FFEC8C
Share image for Saffron Rice

Gradients in similar colors