#E5D166#E5D166

#E5D166 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.6% C 0.129 H 98.9°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#E5D166
RGBrgb(229, 209, 102)
HSLhsl(51, 71%, 65%)
HSVhsv(51, 55%, 90%)
CMYKcmyk(0%, 8.7%, 55.5%, 10.2%)
CIE-LABlab(83.56, -6.22, 54.76)
CIE-LCHlch(83.56, 55.11, 96.48°)
OKLaboklab(85.61% -0.02 0.1279)
OKLCHoklch(85.61% 0.129 98.9)
XYZxyz(57.5139, 63.2206, 21.7411)
Luminance0.6322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D166 #667AE5
analogous
#E59166 #E5D166 #BAE566
triadic
#E5D166 #66E5D1 #D166E5
tetradic
#E5D166 #66E591 #667AE5 #E566BA
square
#E5D166 #66E591 #667AE5 #E566BA
split-complementary
#E5D166 #66BAE5 #9166E5
monochromatic
#B29B1E #DCC132 #E5D166 #EEE19A #F7F0CF

Accessibility & contrast

On white

1.54
#E5D166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#E5D166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D166
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D166#FFFFFF#000000##000000
##E5D1661.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC5C
Deuteranopia (green-blind)
#E8D36B
Tritanopia (blue-blind)
#F5C4B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e5d166;
/* rgb */ color: rgb(229, 209, 102);
/* oklch */ color: oklch(85.6% 0.129 98.9);
Tailwind
colors: {
  custom: {
    50: '#f0de95',
    500: '#e5d166',
    950: '#000000',
  },
}
SCSS
$custom: #e5d166;
$custom-light: #f0de95;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d166",
  "rgb": {
    "r": 229,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 50.551,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.85614,
    "c": 0.12942,
    "h": 98.9
  },
  "luminance": 0.63218
}

Semantic roles & 50–950 ramp

primary
#E5D166
secondary
#3C4FB3
accent
#31D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5D166

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

Preview Lab → · Contrast checker → · Palette generator →

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