#E8D866#E8D866

#E8D866 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.3% C 0.136 H 101.4°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#E8D866
RGBrgb(232, 216, 102)
HSLhsl(53, 74%, 65%)
HSVhsv(53, 56%, 91%)
CMYKcmyk(0%, 6.9%, 56%, 9%)
CIE-LABlab(85.62, -8.54, 57.19)
CIE-LCHlch(85.62, 57.82, 98.49°)
OKLaboklab(87.31% -0.0268 0.1331)
OKLCHoklch(87.31% 0.136 101.4)
XYZxyz(60.2349, 67.2291, 22.3714)
Luminance0.6723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D866 #6676E8
analogous
#E89766 #E8D866 #B7E866
triadic
#E8D866 #66E8D8 #D866E8
tetradic
#E8D866 #66E897 #6676E8 #E866B7
square
#E8D866 #66E897 #6676E8 #E866B7
split-complementary
#E8D866 #66B7E8 #9766E8
monochromatic
#B8A51C #E0CA31 #E8D866 #F0E69B #F8F3D0

Accessibility & contrast

On white

1.45
#E8D866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#E8D866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D866
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D866#FFFFFF#000000##000000
##E8D8661.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D25B
Deuteranopia (green-blind)
#EED96C
Tritanopia (blue-blind)
#F8CBBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e8d866;
/* rgb */ color: rgb(232, 216, 102);
/* oklch */ color: oklch(87.3% 0.136 101.4);
Tailwind
colors: {
  custom: {
    50: '#f2e395',
    500: '#e8d866',
    950: '#000000',
  },
}
SCSS
$custom: #e8d866;
$custom-light: #f2e395;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d866",
  "rgb": {
    "r": 232,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 52.615,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.8731,
    "c": 0.13573,
    "h": 101.4
  },
  "luminance": 0.67227
}

Semantic roles & 50–950 ramp

primary
#E8D866
secondary
#3A4AB8
accent
#28D610
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D866

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

Preview Lab → · Contrast checker → · Palette generator →

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