#E4DD5C#E4DD5C

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

Color values

HEX#E4DD5C
RGBrgb(228, 221, 92)
HSLhsl(57, 72%, 63%)
HSVhsv(57, 60%, 89%)
CMYKcmyk(0%, 3.1%, 59.6%, 10.6%)
CIE-LABlab(86.49, -13.38, 62.48)
CIE-LCHlch(86.49, 63.90, 102.09°)
OKLaboklab(87.9% -0.0415 0.1432)
OKLCHoklch(87.9% 0.149 106.2)
XYZxyz(59.7851, 68.9815, 20.2887)
Luminance0.6898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DD5C #5C63E4
analogous
#E4995C #E4DD5C #A7E45C
triadic
#E4DD5C #5CE4DD #DD5CE4
tetradic
#E4DD5C #5CE499 #5C63E4 #E45CA7
square
#E4DD5C #5CE499 #5C63E4 #E45CA7
split-complementary
#E4DD5C #5CA7E4 #995CE4
monochromatic
#AAA21C #DBD227 #E4DD5C #EDE891 #F5F3C5

Accessibility & contrast

On white

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

On black

14.80
#E4DD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DD5C
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DD5C#FFFFFF#000000##000000
##E4DD5C1.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4dd5c;
/* rgb */ color: rgb(228, 221, 92);
/* oklch */ color: oklch(87.9% 0.149 106.2);
Tailwind
colors: {
  custom: {
    50: '#efe78f',
    500: '#e4dd5c',
    950: '#000000',
  },
}
SCSS
$custom: #e4dd5c;
$custom-light: #efe78f;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dd5c",
  "rgb": {
    "r": 228,
    "g": 221,
    "b": 92
  },
  "hsl": {
    "h": 56.912,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.87896,
    "c": 0.14912,
    "h": 106.2
  },
  "luminance": 0.6898
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E4DD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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