#E8D985#E8D985

#E8D985 is a very light, moderate yellow. Relative luminance 0.685; OKLCH L 87.9% C 0.106 H 99.4°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#E8D985
RGBrgb(232, 217, 133)
HSLhsl(51, 68%, 72%)
HSVhsv(51, 43%, 91%)
CMYKcmyk(0%, 6.5%, 42.7%, 9%)
CIE-LABlab(86.24, -6.32, 43.15)
CIE-LCHlch(86.24, 43.61, 98.33°)
OKLaboklab(87.92% -0.0173 0.1047)
OKLCHoklch(87.92% 0.106 99.4)
XYZxyz(62.3266, 68.4769, 32.1200)
Luminance0.6847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D985 #8594E8
analogous
#E8A885 #E8D985 #C6E885
triadic
#E8D985 #85E8D9 #D985E8
tetradic
#E8D985 #85E8A8 #8594E8 #E885C6
square
#E8D985 #85E8A8 #8594E8 #E885C6
split-complementary
#E8D985 #85C6E8 #A885E8
monochromatic
#CCB326 #DEC952 #E8D985 #F2E9B8 #FAF7E5

Accessibility & contrast

On white

1.43
#E8D985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#E8D985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D985
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D985#FFFFFF#000000##000000
##E8D9851.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D47E
Deuteranopia (green-blind)
#ECDA88
Tritanopia (blue-blind)
#F6CEC4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e8d985;
/* rgb */ color: rgb(232, 217, 133);
/* oklch */ color: oklch(87.9% 0.106 99.4);
Tailwind
colors: {
  custom: {
    50: '#f1e4aa',
    500: '#e8d985',
    950: '#000000',
  },
}
SCSS
$custom: #e8d985;
$custom-light: #f1e4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d985",
  "rgb": {
    "r": 232,
    "g": 217,
    "b": 133
  },
  "hsl": {
    "h": 50.909,
    "s": 68.276,
    "l": 71.569
  },
  "oklch": {
    "l": 0.87924,
    "c": 0.1061,
    "h": 99.4
  },
  "luminance": 0.68475
}

Semantic roles & 50–950 ramp

primary
#E8D985
secondary
#5061C1
accent
#32D015
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E8D985

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

Preview Lab → · Contrast checker → · Palette generator →

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