#E5DC5B#E5DC5B

#E5DC5B is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.8% C 0.149 H 105.3°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#E5DC5B
RGBrgb(229, 220, 91)
HSLhsl(56, 73%, 63%)
HSVhsv(56, 60%, 90%)
CMYKcmyk(0%, 3.9%, 60.3%, 10.2%)
CIE-LABlab(86.31, -12.54, 62.73)
CIE-LCHlch(86.31, 63.97, 101.31°)
OKLaboklab(87.76% -0.0393 0.1436)
OKLCHoklch(87.76% 0.149 105.3)
XYZxyz(59.7967, 68.6018, 19.9871)
Luminance0.6860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DC5B #5B64E5
analogous
#E5975B #E5DC5B #A9E55B
triadic
#E5DC5B #5BE5DC #DC5BE5
tetradic
#E5DC5B #5BE597 #5B64E5 #E55BA9
square
#E5DC5B #5BE597 #5B64E5 #E55BA9
split-complementary
#E5DC5B #5BA9E5 #975BE5
monochromatic
#ABA11B #DDD126 #E5DC5B #EDE790 #F6F3C5

Accessibility & contrast

On white

1.43
#E5DC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.72
#E5DC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DC5B
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DC5B#FFFFFF#000000##000000
##E5DC5B1.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54C
Deuteranopia (green-blind)
#F1DB62
Tritanopia (blue-blind)
#F5CEC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e5dc5b;
/* rgb */ color: rgb(229, 220, 91);
/* oklch */ color: oklch(87.8% 0.149 105.3);
Tailwind
colors: {
  custom: {
    50: '#f0e68e',
    500: '#e5dc5b',
    950: '#000000',
  },
}
SCSS
$custom: #e5dc5b;
$custom-light: #f0e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#e5dc5b",
  "rgb": {
    "r": 229,
    "g": 220,
    "b": 91
  },
  "hsl": {
    "h": 56.087,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.87763,
    "c": 0.14887,
    "h": 105.3
  },
  "luminance": 0.686
}

Semantic roles & 50–950 ramp

primary
#E5DC5B
secondary
#3840AC
accent
#1ED511
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5DC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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