#E8D66B#E8D66B

#E8D66B is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.0% C 0.129 H 99.9°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#E8D66B
RGBrgb(232, 214, 107)
HSLhsl(51, 73%, 66%)
HSVhsv(51, 54%, 91%)
CMYKcmyk(0%, 7.8%, 53.9%, 9%)
CIE-LABlab(85.16, -7.14, 54.36)
CIE-LCHlch(85.16, 54.83, 97.49°)
OKLaboklab(86.96% -0.0223 0.1275)
OKLCHoklch(86.96% 0.129 99.9)
XYZxyz(59.9811, 66.3128, 23.5472)
Luminance0.6631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D66B #6B7DE8
analogous
#E8986B #E8D66B #BCE86B
triadic
#E8D66B #6BE8D6 #D66BE8
tetradic
#E8D66B #6BE898 #6B7DE8 #E86BBC
square
#E8D66B #6BE898 #6B7DE8 #E86BBC
split-complementary
#E8D66B #6BBCE8 #986BE8
monochromatic
#BBA51D #E0C736 #E8D66B #F0E5A0 #F8F3D5

Accessibility & contrast

On white

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

On black

14.26
#E8D66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D66B
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D66B#FFFFFF#000000##000000
##E8D66B1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D161
Deuteranopia (green-blind)
#ECD870
Tritanopia (blue-blind)
#F8C9BE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e8d66b;
/* rgb */ color: rgb(232, 214, 107);
/* oklch */ color: oklch(87.0% 0.129 99.9);
Tailwind
colors: {
  custom: {
    50: '#f2e298',
    500: '#e8d66b',
    950: '#000000',
  },
}
SCSS
$custom: #e8d66b;
$custom-light: #f2e298;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d66b",
  "rgb": {
    "r": 232,
    "g": 214,
    "b": 107
  },
  "hsl": {
    "h": 51.36,
    "s": 73.099,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86959,
    "c": 0.1294,
    "h": 99.9
  },
  "luminance": 0.6631
}

Semantic roles & 50–950 ramp

primary
#E8D66B
secondary
#3C4FBB
accent
#2DD510
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D66B

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

Preview Lab → · Contrast checker → · Palette generator →

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