#E8D85B#E8D85B

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

Color values

HEX#E8D85B
RGBrgb(232, 216, 91)
HSLhsl(53, 75%, 63%)
HSVhsv(53, 61%, 91%)
CMYKcmyk(0%, 6.9%, 60.8%, 9%)
CIE-LABlab(85.52, -9.31, 61.94)
CIE-LCHlch(85.52, 62.63, 98.55°)
OKLaboklab(87.2% -0.0303 0.1418)
OKLCHoklch(87.2% 0.145 102)
XYZxyz(59.7252, 67.0252, 19.6866)
Luminance0.6702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D85B #5B6BE8
analogous
#E8915B #E8D85B #B2E85B
triadic
#E8D85B #5BE8D8 #D85BE8
tetradic
#E8D85B #5BE891 #5B6BE8 #E85BB2
square
#E8D85B #5BE891 #5B6BE8 #E85BB2
split-complementary
#E8D85B #5BB2E8 #915BE8
monochromatic
#B09F19 #E0CB25 #E8D85B #F0E591 #F7F2C6

Accessibility & contrast

On white

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

On black

14.40
#E8D85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D85B
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D85B#FFFFFF#000000##000000
##E8D85B1.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8d85b;
/* rgb */ color: rgb(232, 216, 91);
/* oklch */ color: oklch(87.2% 0.145 102.0);
Tailwind
colors: {
  custom: {
    50: '#f2e38e',
    500: '#e8d85b',
    950: '#000000',
  },
}
SCSS
$custom: #e8d85b;
$custom-light: #f2e38e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d85b",
  "rgb": {
    "r": 232,
    "g": 216,
    "b": 91
  },
  "hsl": {
    "h": 53.191,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87195,
    "c": 0.14503,
    "h": 102
  },
  "luminance": 0.67023
}

Semantic roles & 50–950 ramp

primary
#E8D85B
secondary
#3744B1
accent
#25D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D85B

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

Preview Lab → · Contrast checker → · Palette generator →

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