#E5DA51#E5DA51

#E5DA51 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.3% C 0.155 H 104.7°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#E5DA51
RGBrgb(229, 218, 81)
HSLhsl(56, 74%, 61%)
HSVhsv(56, 65%, 90%)
CMYKcmyk(0%, 4.8%, 64.6%, 10.2%)
CIE-LABlab(85.70, -12.17, 66.22)
CIE-LCHlch(85.70, 67.33, 100.41°)
OKLaboklab(87.26% -0.0393 0.1495)
OKLCHoklch(87.26% 0.155 104.7)
XYZxyz(58.8719, 67.3971, 17.6908)
Luminance0.6740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DA51 #515CE5
analogous
#E59051 #E5DA51 #A6E551
triadic
#E5DA51 #51E5DA #DA51E5
tetradic
#E5DA51 #51E590 #515CE5 #E551A6
square
#E5DA51 #51E590 #515CE5 #E551A6
split-complementary
#E5DA51 #51A6E5 #9051E5
monochromatic
#A39918 #D8CB20 #E5DA51 #EDE586 #F5F1BB

Accessibility & contrast

On white

1.45
#E5DA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#E5DA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DA51
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DA51#FFFFFF#000000##000000
##E5DA511.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD33F
Deuteranopia (green-blind)
#F0D959
Tritanopia (blue-blind)
#F5CCBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e5da51;
/* rgb */ color: rgb(229, 218, 81);
/* oklch */ color: oklch(87.3% 0.155 104.7);
Tailwind
colors: {
  custom: {
    50: '#f1e588',
    500: '#e5da51',
    950: '#000000',
  },
}
SCSS
$custom: #e5da51;
$custom-light: #f1e588;
$custom-dark: #000000;
JSON
{
  "hex": "#e5da51",
  "rgb": {
    "r": 229,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 55.541,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87258,
    "c": 0.15463,
    "h": 104.7
  },
  "luminance": 0.67395
}

Semantic roles & 50–950 ramp

primary
#E5DA51
secondary
#353DA6
accent
#1ED60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5DA51

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

Preview Lab → · Contrast checker → · Palette generator →

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