Export

Code

/* Citrine Gem — colorset.net */
:root {
  --color-1: #E4D00A;
  --color-2: #F4C430;
  --color-3: #FFD700;
  --color-4: #FFE135;
  --color-5: #FFFFE0;

  --color-bg: #FFFFE0;
  --color-surface: #F6F6D7;
  --color-border: #DDDDBF;
  --color-text: #664F00;
  --color-muted: #786E55;
  --color-primary: #9C8E00;
  --color-on-primary: #000000;
  --color-accent: #8F8F73;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #150E00;
    --color-surface: #201905;
    --color-border: #362D15;
    --color-text: #FFFFE0;
    --color-muted: #909074;
    --color-primary: #E4D00A;
    --color-on-primary: #150E00;
    --color-accent: #FFE135;
    --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
Backgroundfrom palette · color 5adjusted for contrast · from #F4C430
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #F4C430from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #F4C430from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #F4C430from palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.69:1AAA pass 4.5:1
Text on surface7.11:1AAA pass 4.5:1
Muted text on background4.96:1AA pass 4.5:1
Label on primary6.28:1AA pass 4.5:1
Label on accent6.34:1AA pass 4.5:1
Primary on background3.28:1AA Large pass 3:1
Accent on background3.25:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.85:1AAA pass 4.5:1
Text on surface17.16:1AAA pass 4.5:1
Muted text on background5.87:1AA pass 4.5:1
Label on primary12.17:1AAA pass 4.5:1
Label on accent14.68:1AAA pass 4.5:1
Primary on background12.17:1AAA pass 3:1
Accent on background14.68: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#E4D00A (Text 1)#F4C430 (Text 2)#FFD700 (Text 3)#FFE135 (Text 4)#FFFFE0 (Text 5)
#E4D00ASame color1.04—1.12—1.21—1.55—
#F4C4301.04—Same color1.17—1.26—1.61—
#FFD7001.12—1.17—Same color1.07—1.38—
#FFE1351.21—1.26—1.07—Same color1.28—
#FFFFE01.55—1.61—1.38—1.28—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#E4D00A#F4C430#FFD700#FFE135#FFFFE0

Variations

About Citrine Gem

Five colors make up Citrine Gem, a warm yellow set: #E4D00A, #F4C430, #FFD700, #FFE135, #FFFFE0. All hues sit within 18° of each other, so light yellow #E4D00A and its relatives form a cohesive monochromatic scheme. From #F4C430 to #FFFFE0 the colors share a similar light value (lightness 84%–99%), which suits fills and illustration more than body text. Average chroma is 0.147, medium for a palette, so the colors are clear without being loud; the most saturated color is #FFD700. Text contrast reaches 7.7:1 in light mode and 18.8:1 in dark mode, with #9C8E00 as primary and #8F8F73 as accent. Try it for icons and logos, typography-led layouts and focused single-product sites, letting light yellow #E4D00A carry the key actions.

Citrine Gem color palette: #E4D00A, #F4C430, #FFD700, #FFE135, #FFFFE0
Share image for Citrine Gem

Gradients in similar colors