#E5D966#E5D966

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

Color values

HEX#E5D966
RGBrgb(229, 217, 102)
HSLhsl(54, 71%, 65%)
HSVhsv(54, 55%, 90%)
CMYKcmyk(0%, 5.2%, 55.5%, 10.2%)
CIE-LABlab(85.63, -10.26, 57.13)
CIE-LCHlch(85.63, 58.05, 100.18°)
OKLaboklab(87.26% -0.0316 0.133)
OKLCHoklch(87.26% 0.137 103.4)
XYZxyz(59.5262, 67.2451, 22.4118)
Luminance0.6724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D966 #6672E5
analogous
#E59A66 #E5D966 #B1E566
triadic
#E5D966 #66E5D9 #D966E5
tetradic
#E5D966 #66E59A #6672E5 #E566B1
square
#E5D966 #66E59A #6672E5 #E566B1
split-complementary
#E5D966 #66B1E5 #9A66E5
monochromatic
#B2A41E #DCCC32 #E5D966 #EEE69A #F7F3CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5D966#FFFFFF#000000##000000
##E5D9661.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)
#EAD35A
Deuteranopia (green-blind)
#EED96C
Tritanopia (blue-blind)
#F4CCBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e5d966;
/* rgb */ color: rgb(229, 217, 102);
/* oklch */ color: oklch(87.3% 0.137 103.4);
Tailwind
colors: {
  custom: {
    50: '#f0e495',
    500: '#e5d966',
    950: '#000000',
  },
}
SCSS
$custom: #e5d966;
$custom-light: #f0e495;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d966",
  "rgb": {
    "r": 229,
    "g": 217,
    "b": 102
  },
  "hsl": {
    "h": 54.331,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.87256,
    "c": 0.13669,
    "h": 103.4
  },
  "luminance": 0.67243
}

Semantic roles & 50–950 ramp

primary
#E5D966
secondary
#3C47B3
accent
#25D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5D966

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

Preview Lab → · Contrast checker → · Palette generator →

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