#E8D96A#E8D96A

#E8D96A is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.6% C 0.133 H 101.7°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#E8D96A
RGBrgb(232, 217, 106)
HSLhsl(53, 73%, 66%)
HSVhsv(53, 54%, 91%)
CMYKcmyk(0%, 6.5%, 54.3%, 9%)
CIE-LABlab(85.92, -8.74, 55.71)
CIE-LCHlch(85.92, 56.39, 98.91°)
OKLaboklab(87.56% -0.027 0.1303)
OKLCHoklch(87.56% 0.133 101.7)
XYZxyz(60.6951, 67.8243, 23.5271)
Luminance0.6782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D96A #6A79E8
analogous
#E89A6A #E8D96A #B8E86A
triadic
#E8D96A #6AE8D9 #D96AE8
tetradic
#E8D96A #6AE89A #6A79E8 #E86AB8
square
#E8D96A #6AE89A #6A79E8 #E86AB8
split-complementary
#E8D96A #6AB8E8 #9A6AE8
monochromatic
#BBA81D #E0CB35 #E8D96A #F0E79F #F8F4D4

Accessibility & contrast

On white

1.44
#E8D96A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#E8D96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D96A
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D96A#FFFFFF#000000##000000
##E8D96A1.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD35F
Deuteranopia (green-blind)
#EFDA6F
Tritanopia (blue-blind)
#F7CCC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e8d96a;
/* rgb */ color: rgb(232, 217, 106);
/* oklch */ color: oklch(87.6% 0.133 101.7);
Tailwind
colors: {
  custom: {
    50: '#f2e498',
    500: '#e8d96a',
    950: '#000000',
  },
}
SCSS
$custom: #e8d96a;
$custom-light: #f2e498;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d96a",
  "rgb": {
    "r": 232,
    "g": 217,
    "b": 106
  },
  "hsl": {
    "h": 52.857,
    "s": 73.256,
    "l": 66.275
  },
  "oklch": {
    "l": 0.8756,
    "c": 0.13305,
    "h": 101.7
  },
  "luminance": 0.67822
}

Semantic roles & 50–950 ramp

primary
#E8D96A
secondary
#3C4BBA
accent
#28D510
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D96A

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

Preview Lab → · Contrast checker → · Palette generator →

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