#E9D866#E9D866

#E9D866 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.4% C 0.136 H 100.9°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#E9D866
RGBrgb(233, 216, 102)
HSLhsl(52, 75%, 66%)
HSVhsv(52, 56%, 91%)
CMYKcmyk(0%, 7.3%, 56.2%, 8.6%)
CIE-LABlab(85.70, -8.13, 57.31)
CIE-LCHlch(85.70, 57.88, 98.07°)
OKLaboklab(87.4% -0.0257 0.1333)
OKLCHoklch(87.4% 0.136 100.9)
XYZxyz(60.5605, 67.3970, 22.3867)
Luminance0.6740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D866 #6677E9
analogous
#E99666 #E9D866 #B8E966
triadic
#E9D866 #66E9D8 #D866E9
tetradic
#E9D866 #66E996 #6677E9 #E966B8
square
#E9D866 #66E996 #6677E9 #E966B8
split-complementary
#E9D866 #66B8E9 #9666E9
monochromatic
#BAA51B #E1CA30 #E9D866 #F1E69C #F8F3D1

Accessibility & contrast

On white

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

On black

14.48
#E9D866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D866
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D866#FFFFFF#000000##000000
##E9D8661.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD25B
Deuteranopia (green-blind)
#EFD96C
Tritanopia (blue-blind)
#F9CBBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e9d866;
/* rgb */ color: rgb(233, 216, 102);
/* oklch */ color: oklch(87.4% 0.136 100.9);
Tailwind
colors: {
  custom: {
    50: '#f3e395',
    500: '#e9d866',
    950: '#000000',
  },
}
SCSS
$custom: #e9d866;
$custom-light: #f3e395;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d866",
  "rgb": {
    "r": 233,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 52.214,
    "s": 74.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87397,
    "c": 0.13575,
    "h": 100.9
  },
  "luminance": 0.67395
}

Semantic roles & 50–950 ramp

primary
#E9D866
secondary
#3A4AB9
accent
#29D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #E9D866

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

Preview Lab → · Contrast checker → · Palette generator →

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