#E5D866#E5D866

#E5D866 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.1% C 0.136 H 102.8°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#E5D866
RGBrgb(229, 216, 102)
HSLhsl(54, 71%, 65%)
HSVhsv(54, 55%, 90%)
CMYKcmyk(0%, 5.7%, 55.5%, 10.2%)
CIE-LABlab(85.37, -9.76, 56.84)
CIE-LCHlch(85.37, 57.67, 99.75°)
OKLaboklab(87.05% -0.0301 0.1324)
OKLCHoklch(87.05% 0.136 102.8)
XYZxyz(59.2692, 66.7312, 22.3262)
Luminance0.6673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D866 #6673E5
analogous
#E59866 #E5D866 #B3E566
triadic
#E5D866 #66E5D8 #D866E5
tetradic
#E5D866 #66E598 #6673E5 #E566B3
square
#E5D866 #66E598 #6673E5 #E566B3
split-complementary
#E5D866 #66B3E5 #9866E5
monochromatic
#B2A31E #DCCB32 #E5D866 #EEE59A #F7F3CF

Accessibility & contrast

On white

1.46
#E5D866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#E5D866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D866
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D866#FFFFFF#000000##000000
##E5D8661.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D25B
Deuteranopia (green-blind)
#EDD86C
Tritanopia (blue-blind)
#F4CBBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e5d866;
/* rgb */ color: rgb(229, 216, 102);
/* oklch */ color: oklch(87.1% 0.136 102.8);
Tailwind
colors: {
  custom: {
    50: '#f0e395',
    500: '#e5d866',
    950: '#000000',
  },
}
SCSS
$custom: #e5d866;
$custom-light: #f0e395;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d866",
  "rgb": {
    "r": 229,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 53.858,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.8705,
    "c": 0.13574,
    "h": 102.8
  },
  "luminance": 0.66729
}

Semantic roles & 50–950 ramp

primary
#E5D866
secondary
#3C48B3
accent
#26D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5D866

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

Preview Lab → · Contrast checker → · Palette generator →

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