#E4DD5B#E4DD5B

#E4DD5B is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.9% C 0.150 H 106.2°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#E4DD5B
RGBrgb(228, 221, 91)
HSLhsl(57, 72%, 63%)
HSVhsv(57, 60%, 89%)
CMYKcmyk(0%, 3.1%, 60.1%, 10.6%)
CIE-LABlab(86.49, -13.45, 62.90)
CIE-LCHlch(86.49, 64.32, 102.07°)
OKLaboklab(87.89% -0.0418 0.144)
OKLCHoklch(87.89% 0.15 106.2)
XYZxyz(59.7417, 68.9642, 20.0600)
Luminance0.6896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DD5B #5B62E4
analogous
#E4985B #E4DD5B #A7E45B
triadic
#E4DD5B #5BE4DD #DD5BE4
tetradic
#E4DD5B #5BE498 #5B62E4 #E45BA7
square
#E4DD5B #5BE498 #5B62E4 #E45BA7
split-complementary
#E4DD5B #5BA7E4 #985BE4
monochromatic
#A9A21C #DBD226 #E4DD5B #EDE890 #F5F3C4

Accessibility & contrast

On white

1.42
#E4DD5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.79
#E4DD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DD5B
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DD5B#FFFFFF#000000##000000
##E4DD5B1.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4dd5b;
/* rgb */ color: rgb(228, 221, 91);
/* oklch */ color: oklch(87.9% 0.150 106.2);
Tailwind
colors: {
  custom: {
    50: '#efe78e',
    500: '#e4dd5b',
    950: '#000000',
  },
}
SCSS
$custom: #e4dd5b;
$custom-light: #efe78e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dd5b",
  "rgb": {
    "r": 228,
    "g": 221,
    "b": 91
  },
  "hsl": {
    "h": 56.934,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.87886,
    "c": 0.14993,
    "h": 106.2
  },
  "luminance": 0.68962
}

Semantic roles & 50–950 ramp

primary
#E4DD5B
secondary
#393EAB
accent
#1CD412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E4DD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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