#E8D166#E8D166

#E8D166 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.9% C 0.130 H 97.4°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#E8D166
RGBrgb(232, 209, 102)
HSLhsl(49, 74%, 65%)
HSVhsv(49, 56%, 91%)
CMYKcmyk(0%, 9.9%, 56%, 9%)
CIE-LABlab(83.82, -4.99, 55.12)
CIE-LCHlch(83.82, 55.35, 95.17°)
OKLaboklab(85.88% -0.0166 0.1286)
OKLCHoklch(85.88% 0.13 97.4)
XYZxyz(58.4796, 63.7185, 21.7863)
Luminance0.6372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D166 #667DE8
analogous
#E89066 #E8D166 #BEE866
triadic
#E8D166 #66E8D1 #D166E8
tetradic
#E8D166 #66E890 #667DE8 #E866BE
square
#E8D166 #66E890 #667DE8 #E866BE
split-complementary
#E8D166 #66BEE8 #9066E8
monochromatic
#B89C1C #E0C131 #E8D166 #F0E19B #F8F1D0

Accessibility & contrast

On white

1.53
#E8D166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#E8D166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D166
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D166#FFFFFF#000000##000000
##E8D1661.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC5C
Deuteranopia (green-blind)
#E9D46B
Tritanopia (blue-blind)
#F8C4B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e8d166;
/* rgb */ color: rgb(232, 209, 102);
/* oklch */ color: oklch(85.9% 0.130 97.4);
Tailwind
colors: {
  custom: {
    50: '#f2de95',
    500: '#e8d166',
    950: '#000000',
  },
}
SCSS
$custom: #e8d166;
$custom-light: #f2de95;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d166",
  "rgb": {
    "r": 232,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 49.385,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.85883,
    "c": 0.12967,
    "h": 97.4
  },
  "luminance": 0.63716
}

Semantic roles & 50–950 ramp

primary
#E8D166
secondary
#3A51B8
accent
#33D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D166

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

Preview Lab → · Contrast checker → · Palette generator →

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