#E5C866#E5C866

#E5C866 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.8% C 0.122 H 93.1°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#E5C866
RGBrgb(229, 200, 102)
HSLhsl(46, 71%, 65%)
HSVhsv(46, 55%, 90%)
CMYKcmyk(0%, 12.7%, 55.5%, 10.2%)
CIE-LABlab(81.25, -1.61, 52.08)
CIE-LCHlch(81.25, 52.10, 91.77°)
OKLaboklab(83.79% -0.0067 0.1221)
OKLCHoklch(83.79% 0.122 93.1)
XYZxyz(55.3679, 58.9285, 21.0257)
Luminance0.5893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C866 #6683E5
analogous
#E58866 #E5C866 #C3E566
triadic
#E5C866 #66E5C8 #C866E5
tetradic
#E5C866 #66E588 #6683E5 #E566C3
square
#E5C866 #66E588 #6683E5 #E566C3
split-complementary
#E5C866 #66C3E5 #8866E5
monochromatic
#B2911E #DCB532 #E5C866 #EEDB9A #F7EECF

Accessibility & contrast

On white

1.64
#E5C866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#E5C866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C866
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C866#FFFFFF#000000##000000
##E5C8661.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55D
Deuteranopia (green-blind)
#E1CE6A
Tritanopia (blue-blind)
#F5BBB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e5c866;
/* rgb */ color: rgb(229, 200, 102);
/* oklch */ color: oklch(83.8% 0.122 93.1);
Tailwind
colors: {
  custom: {
    50: '#f0d894',
    500: '#e5c866',
    950: '#000000',
  },
}
SCSS
$custom: #e5c866;
$custom-light: #f0d894;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c866",
  "rgb": {
    "r": 229,
    "g": 200,
    "b": 102
  },
  "hsl": {
    "h": 46.299,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.8379,
    "c": 0.12225,
    "h": 93.1
  },
  "luminance": 0.58926
}

Semantic roles & 50–950 ramp

primary
#E5C866
secondary
#3C57B3
accent
#3ED313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E5C866

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

Preview Lab → · Contrast checker → · Palette generator →

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