#E5DD51#E5DD51

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

Color values

HEX#E5DD51
RGBrgb(229, 221, 81)
HSLhsl(57, 74%, 61%)
HSVhsv(57, 65%, 90%)
CMYKcmyk(0%, 3.5%, 64.6%, 10.2%)
CIE-LABlab(86.49, -13.66, 67.03)
CIE-LCHlch(86.49, 68.41, 101.52°)
OKLaboklab(87.88% -0.0435 0.1513)
OKLCHoklch(87.88% 0.157 106)
XYZxyz(59.6569, 68.9670, 17.9525)
Luminance0.6896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DD51 #5159E5
analogous
#E59351 #E5DD51 #A3E551
triadic
#E5DD51 #51E5DD #DD51E5
tetradic
#E5DD51 #51E593 #5159E5 #E551A3
square
#E5DD51 #51E593 #5159E5 #E551A3
split-complementary
#E5DD51 #51A3E5 #9351E5
monochromatic
#A39C18 #D8CF20 #E5DD51 #EDE786 #F5F2BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5DD51#FFFFFF#000000##000000
##E5DD511.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)
#EFD53E
Deuteranopia (green-blind)
#F2DB5A
Tritanopia (blue-blind)
#F5CFC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e5dd51;
/* rgb */ color: rgb(229, 221, 81);
/* oklch */ color: oklch(87.9% 0.157 106.0);
Tailwind
colors: {
  custom: {
    50: '#f1e789',
    500: '#e5dd51',
    950: '#000000',
  },
}
SCSS
$custom: #e5dd51;
$custom-light: #f1e789;
$custom-dark: #000000;
JSON
{
  "hex": "#e5dd51",
  "rgb": {
    "r": 229,
    "g": 221,
    "b": 81
  },
  "hsl": {
    "h": 56.757,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87882,
    "c": 0.15742,
    "h": 106
  },
  "luminance": 0.68965
}

Semantic roles & 50–950 ramp

primary
#E5DD51
secondary
#353BA6
accent
#1AD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E5DD51

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

Preview Lab → · Contrast checker → · Palette generator →

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