#E4DD51#E4DD51

#E4DD51 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.8% C 0.158 H 106.5°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#E4DD51
RGBrgb(228, 221, 81)
HSLhsl(57, 73%, 61%)
HSVhsv(57, 64%, 89%)
CMYKcmyk(0%, 3.1%, 64.5%, 10.6%)
CIE-LABlab(86.41, -14.07, 66.92)
CIE-LCHlch(86.41, 68.39, 101.87°)
OKLaboklab(87.8% -0.0446 0.1511)
OKLCHoklch(87.8% 0.158 106.5)
XYZxyz(59.3387, 68.8030, 17.9376)
Luminance0.6880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DD51 #5158E4
analogous
#E49351 #E4DD51 #A1E451
triadic
#E4DD51 #51E4DD #DD51E4
tetradic
#E4DD51 #51E493 #5158E4 #E451A1
square
#E4DD51 #51E493 #5158E4 #E451A1
split-complementary
#E4DD51 #51A1E4 #9351E4
monochromatic
#A29B19 #D7CE21 #E4DD51 #ECE786 #F4F2BB

Accessibility & contrast

On white

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

On black

14.76
#E4DD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DD51
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DD51#FFFFFF#000000##000000
##E4DD511.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53E
Deuteranopia (green-blind)
#F2DB5A
Tritanopia (blue-blind)
#F4CFC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e4dd51;
/* rgb */ color: rgb(228, 221, 81);
/* oklch */ color: oklch(87.8% 0.158 106.5);
Tailwind
colors: {
  custom: {
    50: '#f0e789',
    500: '#e4dd51',
    950: '#000000',
  },
}
SCSS
$custom: #e4dd51;
$custom-light: #f0e789;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dd51",
  "rgb": {
    "r": 228,
    "g": 221,
    "b": 81
  },
  "hsl": {
    "h": 57.143,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.87797,
    "c": 0.15752,
    "h": 106.5
  },
  "luminance": 0.68801
}

Semantic roles & 50–950 ramp

primary
#E4DD51
secondary
#353AA4
accent
#1AD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E4DD51

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

Preview Lab → · Contrast checker → · Palette generator →

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