Export

Code

/* Lemon Yellow — colorset.net */
:root {
  --color-1: #FFE135;
  --color-2: #FFD23F;
  --color-3: #FFC947;
  --color-4: #FFBF00;
  --color-5: #FFB30F;

  --color-bg: #FAF7E8;
  --color-surface: #F1EEDF;
  --color-border: #D9D5C3;
  --color-text: #6A4800;
  --color-muted: #786951;
  --color-primary: #9D6C00;
  --color-on-primary: #FFFFFF;
  --color-accent: #AD8200;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #180D00;
    --color-surface: #221705;
    --color-border: #392B16;
    --color-text: #E9E2BC;
    --color-muted: #888368;
    --color-primary: #FFB30F;
    --color-on-primary: #180D00;
    --color-accent: #FFE135;
    --color-on-accent: #180D00;
  }
}

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 #FFE135adjusted for contrast · from #FFB30F
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #FFB30Fadjusted for contrast · from #FFC947
Muted textderivedderived
Primaryadjusted for contrast · from #FFB30Ffrom palette · color 5
On primaryderivedderived
Accentadjusted for contrast · from #FFB30Ffrom palette · color 1
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.69:1AAA pass 4.5:1
Text on surface7.10:1AAA pass 4.5:1
Muted text on background4.96:1AA pass 4.5:1
Label on primary4.59:1AA pass 4.5:1
Label on accent5.97:1AA pass 4.5:1
Primary on background4.27:1AA Large pass 3:1
Accent on background3.27:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background14.66:1AAA pass 4.5:1
Text on surface13.47:1AAA pass 4.5:1
Muted text on background5.01:1AA pass 4.5:1
Label on primary10.68:1AAA pass 4.5:1
Label on accent14.66:1AAA pass 4.5:1
Primary on background10.68:1AAA pass 3:1
Accent on background14.66: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#FFE135 (Text 1)#FFD23F (Text 2)#FFC947 (Text 3)#FFBF00 (Text 4)#FFB30F (Text 5)
#FFE135Same color1.11—1.17—1.27—1.37—
#FFD23F1.11—Same color1.06—1.14—1.24—
#FFC9471.17—1.06—Same color1.08—1.17—
#FFBF001.27—1.14—1.08—Same color1.09—
#FFB30F1.37—1.24—1.17—1.09—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FFE135#FFD23F#FFC947#FFBF00#FFB30F

Variations

About Lemon Yellow

Lemon Yellow is a warm yellow palette of 5 colors that runs from pale yellow #FFE135 to light yellow #FFB30F. With a hue spread of just 21°, it is effectively monochromatic: #FFE135, #FFD23F and #FFC947 differ mostly in lightness. All five colors stay in a narrow light band (82% to 91% lightness, #FFB30F to #FFE135), so text and background roles are adjusted for contrast. Saturation is high (mean OKLCH chroma 0.166, peaking at 0.176 in #FFE135); the colors feel saturated and energetic. Text contrast reaches 7.7:1 in light mode and 14.7:1 in dark mode, with #9D6C00 as primary and #AD8200 as accent. With #FFB30F leading, good fits include documentation, e-commerce product pages and clean landing pages.

Lemon Yellow color palette: #FFE135, #FFD23F, #FFC947, #FFBF00, #FFB30F
Share image for Lemon Yellow

Gradients in similar colors