#E8D95B#E8D95B

#E8D95B is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.4% C 0.146 H 102.5°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#E8D95B
RGBrgb(232, 217, 91)
HSLhsl(54, 75%, 63%)
HSVhsv(54, 61%, 91%)
CMYKcmyk(0%, 6.5%, 60.8%, 9%)
CIE-LABlab(85.78, -9.81, 62.22)
CIE-LCHlch(85.78, 62.99, 98.96°)
OKLaboklab(87.4% -0.0317 0.1424)
OKLCHoklch(87.4% 0.146 102.5)
XYZxyz(59.9821, 67.5391, 19.7723)
Luminance0.6754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D95B #5B6AE8
analogous
#E8925B #E8D95B #B0E85B
triadic
#E8D95B #5BE8D9 #D95BE8
tetradic
#E8D95B #5BE892 #5B6AE8 #E85BB0
square
#E8D95B #5BE892 #5B6AE8 #E85BB0
split-complementary
#E8D95B #5BB0E8 #925BE8
monochromatic
#B0A019 #E0CD25 #E8D95B #F0E591 #F7F2C6

Accessibility & contrast

On white

1.45
#E8D95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#E8D95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D95B
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D95B#FFFFFF#000000##000000
##E8D95B1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD34D
Deuteranopia (green-blind)
#F0DA62
Tritanopia (blue-blind)
#F8CBBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e8d95b;
/* rgb */ color: rgb(232, 217, 91);
/* oklch */ color: oklch(87.4% 0.146 102.5);
Tailwind
colors: {
  custom: {
    50: '#f2e48e',
    500: '#e8d95b',
    950: '#000000',
  },
}
SCSS
$custom: #e8d95b;
$custom-light: #f2e48e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d95b",
  "rgb": {
    "r": 232,
    "g": 217,
    "b": 91
  },
  "hsl": {
    "h": 53.617,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87401,
    "c": 0.14592,
    "h": 102.5
  },
  "luminance": 0.67537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E8D95B

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

Preview Lab → · Contrast checker → · Palette generator →

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