#E4DD57#E4DD57

#E4DD57 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.8% C 0.153 H 106.3°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#E4DD57
RGBrgb(228, 221, 87)
HSLhsl(57, 72%, 62%)
HSVhsv(57, 62%, 89%)
CMYKcmyk(0%, 3.1%, 61.8%, 10.6%)
CIE-LABlab(86.45, -13.71, 64.54)
CIE-LCHlch(86.45, 65.98, 101.99°)
OKLaboklab(87.85% -0.043 0.1469)
OKLCHoklch(87.85% 0.153 106.3)
XYZxyz(59.5737, 68.8970, 19.1753)
Luminance0.6889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DD57 #575EE4
analogous
#E49757 #E4DD57 #A5E457
triadic
#E4DD57 #57E4DD #DD57E4
tetradic
#E4DD57 #57E497 #575EE4 #E457A5
square
#E4DD57 #57E497 #575EE4 #E457A5
split-complementary
#E4DD57 #57A5E4 #9757E4
monochromatic
#A69F1B #DBD223 #E4DD57 #ECE88C #F5F2C0

Accessibility & contrast

On white

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

On black

14.78
#E4DD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DD57
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DD57#FFFFFF#000000##000000
##E4DD571.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD547
Deuteranopia (green-blind)
#F2DB5F
Tritanopia (blue-blind)
#F4CFC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e4dd57;
/* rgb */ color: rgb(228, 221, 87);
/* oklch */ color: oklch(87.8% 0.153 106.3);
Tailwind
colors: {
  custom: {
    50: '#f0e78c',
    500: '#e4dd57',
    950: '#000000',
  },
}
SCSS
$custom: #e4dd57;
$custom-light: #f0e78c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dd57",
  "rgb": {
    "r": 228,
    "g": 221,
    "b": 87
  },
  "hsl": {
    "h": 57.021,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.87849,
    "c": 0.15307,
    "h": 106.3
  },
  "luminance": 0.68895
}

Semantic roles & 50–950 ramp

primary
#E4DD57
secondary
#373DA8
accent
#1BD411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E4DD57

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

Preview Lab → · Contrast checker → · Palette generator →

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