#E8D666#E8D666

#E8D666 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.9% C 0.134 H 100.3°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#E8D666
RGBrgb(232, 214, 102)
HSLhsl(52, 74%, 65%)
HSVhsv(52, 56%, 91%)
CMYKcmyk(0%, 7.8%, 56%, 9%)
CIE-LABlab(85.10, -7.53, 56.60)
CIE-LCHlch(85.10, 57.10, 97.58°)
OKLaboklab(86.9% -0.0239 0.1318)
OKLCHoklch(86.9% 0.134 100.3)
XYZxyz(59.7257, 66.2106, 22.2017)
Luminance0.6621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D666 #6678E8
analogous
#E89566 #E8D666 #B9E866
triadic
#E8D666 #66E8D6 #D666E8
tetradic
#E8D666 #66E895 #6678E8 #E866B9
square
#E8D666 #66E895 #6678E8 #E866B9
split-complementary
#E8D666 #66B9E8 #9566E8
monochromatic
#B8A21C #E0C831 #E8D666 #F0E49B #F8F3D0

Accessibility & contrast

On white

1.47
#E8D666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#E8D666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D666
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D666#FFFFFF#000000##000000
##E8D6661.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D15B
Deuteranopia (green-blind)
#EDD86B
Tritanopia (blue-blind)
#F8C9BD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e8d666;
/* rgb */ color: rgb(232, 214, 102);
/* oklch */ color: oklch(86.9% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#f2e295',
    500: '#e8d666',
    950: '#000000',
  },
}
SCSS
$custom: #e8d666;
$custom-light: #f2e295;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d666",
  "rgb": {
    "r": 232,
    "g": 214,
    "b": 102
  },
  "hsl": {
    "h": 51.692,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86901,
    "c": 0.13394,
    "h": 100.3
  },
  "luminance": 0.66208
}

Semantic roles & 50–950 ramp

primary
#E8D666
secondary
#3A4CB8
accent
#2BD610
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D666

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

Preview Lab → · Contrast checker → · Palette generator →

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