#E8D05C#E8D05C

#E8D05C is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.6% C 0.137 H 97.7°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#E8D05C
RGBrgb(232, 208, 92)
HSLhsl(50, 75%, 64%)
HSVhsv(50, 60%, 91%)
CMYKcmyk(0%, 10.3%, 60.3%, 9%)
CIE-LABlab(83.46, -5.19, 59.24)
CIE-LCHlch(83.46, 59.47, 95.01°)
OKLaboklab(85.57% -0.0184 0.1362)
OKLCHoklch(85.57% 0.137 97.7)
XYZxyz(57.7687, 63.0429, 19.2487)
Luminance0.6304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D05C #5C74E8
analogous
#E88A5C #E8D05C #BAE85C
triadic
#E8D05C #5CE8D0 #D05CE8
tetradic
#E8D05C #5CE88A #5C74E8 #E85CBA
square
#E8D05C #5CE88A #5C74E8 #E85CBA
split-complementary
#E8D05C #5CBAE8 #8A5CE8
monochromatic
#B19719 #E0C126 #E8D05C #F0DF92 #F7EFC7

Accessibility & contrast

On white

1.54
#E8D05C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#E8D05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D05C
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D05C#FFFFFF#000000##000000
##E8D05C1.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB4F
Deuteranopia (green-blind)
#E9D462
Tritanopia (blue-blind)
#F9C2B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e8d05c;
/* rgb */ color: rgb(232, 208, 92);
/* oklch */ color: oklch(85.6% 0.137 97.7);
Tailwind
colors: {
  custom: {
    50: '#f2de8e',
    500: '#e8d05c',
    950: '#000000',
  },
}
SCSS
$custom: #e8d05c;
$custom-light: #f2de8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d05c",
  "rgb": {
    "r": 232,
    "g": 208,
    "b": 92
  },
  "hsl": {
    "h": 49.714,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85571,
    "c": 0.13747,
    "h": 97.7
  },
  "luminance": 0.6304
}

Semantic roles & 50–950 ramp

primary
#E8D05C
secondary
#374CB1
accent
#31D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D05C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E8D05C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva