#E4DD5F#E4DD5F

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

Color values

HEX#E4DD5F
RGBrgb(228, 221, 95)
HSLhsl(57, 71%, 63%)
HSVhsv(57, 58%, 89%)
CMYKcmyk(0%, 3.1%, 58.3%, 10.6%)
CIE-LABlab(86.52, -13.18, 61.22)
CIE-LCHlch(86.52, 62.62, 102.15°)
OKLaboklab(87.93% -0.0406 0.1409)
OKLCHoklch(87.93% 0.147 106.1)
XYZxyz(59.9189, 69.0350, 20.9930)
Luminance0.6903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DD5F #5F66E4
analogous
#E49A5F #E4DD5F #A8E45F
triadic
#E4DD5F #5FE4DD #DD5FE4
tetradic
#E4DD5F #5FE49A #5F66E4 #E45FA8
square
#E4DD5F #5FE49A #5F66E4 #E45FA8
split-complementary
#E4DD5F #5FA8E4 #9A5FE4
monochromatic
#ACA41D #DBD22B #E4DD5F #EDE893 #F6F3C8

Accessibility & contrast

On white

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

On black

14.81
#E4DD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DD5F
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DD5F#FFFFFF#000000##000000
##E4DD5F1.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED551
Deuteranopia (green-blind)
#F1DB66
Tritanopia (blue-blind)
#F3D0C2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e4dd5f;
/* rgb */ color: rgb(228, 221, 95);
/* oklch */ color: oklch(87.9% 0.147 106.1);
Tailwind
colors: {
  custom: {
    50: '#efe791',
    500: '#e4dd5f',
    950: '#000000',
  },
}
SCSS
$custom: #e4dd5f;
$custom-light: #efe791;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dd5f",
  "rgb": {
    "r": 228,
    "g": 221,
    "b": 95
  },
  "hsl": {
    "h": 56.842,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87926,
    "c": 0.14666,
    "h": 106.1
  },
  "luminance": 0.69033
}

Semantic roles & 50–950 ramp

primary
#E4DD5F
secondary
#3A40AD
accent
#1CD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E4DD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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