#E8D170#E8D170

#E8D170 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 86.0% C 0.120 H 96.3°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#E8D170
RGBrgb(232, 209, 112)
HSLhsl(49, 72%, 67%)
HSVhsv(49, 52%, 91%)
CMYKcmyk(0%, 9.9%, 51.7%, 9%)
CIE-LABlab(83.93, -4.19, 50.55)
CIE-LCHlch(83.93, 50.72, 94.74°)
OKLaboklab(86.01% -0.0132 0.1197)
OKLCHoklch(86.01% 0.12 96.3)
XYZxyz(59.0058, 63.9290, 24.5575)
Luminance0.6393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D170 #7087E8
analogous
#E89570 #E8D170 #C3E870
triadic
#E8D170 #70E8D1 #D170E8
tetradic
#E8D170 #70E895 #7087E8 #E870C3
square
#E8D170 #70E895 #7087E8 #E870C3
split-complementary
#E8D170 #70C3E8 #9570E8
monochromatic
#BFA01F #E0C03B #E8D170 #F0E2A5 #F9F3D9

Accessibility & contrast

On white

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

On black

13.79
#E8D170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D170
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D170#FFFFFF#000000##000000
##E8D1701.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD67
Deuteranopia (green-blind)
#E8D574
Tritanopia (blue-blind)
#F8C4BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e8d170;
/* rgb */ color: rgb(232, 209, 112);
/* oklch */ color: oklch(86.0% 0.120 96.3);
Tailwind
colors: {
  custom: {
    50: '#f2de9b',
    500: '#e8d170',
    950: '#000000',
  },
}
SCSS
$custom: #e8d170;
$custom-light: #f2de9b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d170",
  "rgb": {
    "r": 232,
    "g": 209,
    "b": 112
  },
  "hsl": {
    "h": 48.5,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86005,
    "c": 0.12038,
    "h": 96.3
  },
  "luminance": 0.63927
}

Semantic roles & 50–950 ramp

primary
#E8D170
secondary
#3E57BE
accent
#37D411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D170

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

Preview Lab → · Contrast checker → · Palette generator →

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