#E8D17B#E8D17B

#E8D17B is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 86.2% C 0.109 H 94.8°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#E8D17B
RGBrgb(232, 209, 123)
HSLhsl(47, 70%, 70%)
HSVhsv(47, 47%, 91%)
CMYKcmyk(0%, 9.9%, 47%, 9%)
CIE-LABlab(84.06, -3.21, 45.37)
CIE-LCHlch(84.06, 45.48, 94.05°)
OKLaboklab(86.16% -0.0092 0.1091)
OKLCHoklch(86.16% 0.109 94.8)
XYZxyz(59.6561, 64.1891, 27.9824)
Luminance0.6419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D17B #7B92E8
analogous
#E89A7B #E8D17B #C9E87B
triadic
#E8D17B #7BE8D1 #D17BE8
tetradic
#E8D17B #7BE89A #7B92E8 #E87BC9
square
#E8D17B #7BE89A #7B92E8 #E87BC9
split-complementary
#E8D17B #7BC9E8 #9A7BE8
monochromatic
#C6A423 #DFBF47 #E8D17B #F1E3AF #FAF5E3

Accessibility & contrast

On white

1.52
#E8D17B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#E8D17B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D17B
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D17B#FFFFFF#000000##000000
##E8D17B1.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD74
Deuteranopia (green-blind)
#E7D57E
Tritanopia (blue-blind)
#F7C5BC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e8d17b;
/* rgb */ color: rgb(232, 209, 123);
/* oklch */ color: oklch(86.2% 0.109 94.8);
Tailwind
colors: {
  custom: {
    50: '#f1dea3',
    500: '#e8d17b',
    950: '#000000',
  },
}
SCSS
$custom: #e8d17b;
$custom-light: #f1dea3;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d17b",
  "rgb": {
    "r": 232,
    "g": 209,
    "b": 123
  },
  "hsl": {
    "h": 47.339,
    "s": 70.323,
    "l": 69.608
  },
  "oklch": {
    "l": 0.86156,
    "c": 0.10944,
    "h": 94.8
  },
  "luminance": 0.64187
}

Semantic roles & 50–950 ramp

primary
#E8D17B
secondary
#4760C0
accent
#3CD213
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E8D17B

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

Preview Lab → · Contrast checker → · Palette generator →

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