#E8D85C#E8D85C

#E8D85C is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.2% C 0.144 H 102.0°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#E8D85C
RGBrgb(232, 216, 92)
HSLhsl(53, 75%, 64%)
HSVhsv(53, 60%, 91%)
CMYKcmyk(0%, 6.9%, 60.3%, 9%)
CIE-LABlab(85.53, -9.24, 61.52)
CIE-LCHlch(85.53, 62.21, 98.55°)
OKLaboklab(87.21% -0.03 0.1411)
OKLCHoklch(87.21% 0.144 102)
XYZxyz(59.7686, 67.0426, 19.9153)
Luminance0.6704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D85C #5C6CE8
analogous
#E8925C #E8D85C #B2E85C
triadic
#E8D85C #5CE8D8 #D85CE8
tetradic
#E8D85C #5CE892 #5C6CE8 #E85CB2
square
#E8D85C #5CE892 #5C6CE8 #E85CB2
split-complementary
#E8D85C #5CB2E8 #925CE8
monochromatic
#B19F19 #E0CB26 #E8D85C #F0E592 #F7F2C7

Accessibility & contrast

On white

1.46
#E8D85C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#E8D85C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D85C
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D85C#FFFFFF#000000##000000
##E8D85C1.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD24E
Deuteranopia (green-blind)
#EFD963
Tritanopia (blue-blind)
#F8CABD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e8d85c;
/* rgb */ color: rgb(232, 216, 92);
/* oklch */ color: oklch(87.2% 0.144 102.0);
Tailwind
colors: {
  custom: {
    50: '#f2e38f',
    500: '#e8d85c',
    950: '#000000',
  },
}
SCSS
$custom: #e8d85c;
$custom-light: #f2e38f;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d85c",
  "rgb": {
    "r": 232,
    "g": 216,
    "b": 92
  },
  "hsl": {
    "h": 53.143,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.87205,
    "c": 0.14423,
    "h": 102
  },
  "luminance": 0.6704
}

Semantic roles & 50–950 ramp

primary
#E8D85C
secondary
#3745B1
accent
#25D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D85C

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

Preview Lab → · Contrast checker → · Palette generator →

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