#E5DC51#E5DC51

#E5DC51 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.7% C 0.156 H 105.6°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#E5DC51
RGBrgb(229, 220, 81)
HSLhsl(56, 74%, 61%)
HSVhsv(56, 65%, 90%)
CMYKcmyk(0%, 3.9%, 64.6%, 10.2%)
CIE-LABlab(86.23, -13.16, 66.76)
CIE-LCHlch(86.23, 68.05, 101.15°)
OKLaboklab(87.67% -0.0421 0.1507)
OKLCHoklch(87.67% 0.156 105.6)
XYZxyz(59.3937, 68.4406, 17.8647)
Luminance0.6844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DC51 #515AE5
analogous
#E59251 #E5DC51 #A4E551
triadic
#E5DC51 #51E5DC #DC51E5
tetradic
#E5DC51 #51E592 #515AE5 #E551A4
square
#E5DC51 #51E592 #515AE5 #E551A4
split-complementary
#E5DC51 #51A4E5 #9251E5
monochromatic
#A39B18 #D8CD20 #E5DC51 #EDE786 #F5F1BB

Accessibility & contrast

On white

1.43
#E5DC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#E5DC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DC51
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DC51#FFFFFF#000000##000000
##E5DC511.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED43F
Deuteranopia (green-blind)
#F2DA5A
Tritanopia (blue-blind)
#F5CEBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e5dc51;
/* rgb */ color: rgb(229, 220, 81);
/* oklch */ color: oklch(87.7% 0.156 105.6);
Tailwind
colors: {
  custom: {
    50: '#f1e689',
    500: '#e5dc51',
    950: '#000000',
  },
}
SCSS
$custom: #e5dc51;
$custom-light: #f1e689;
$custom-dark: #000000;
JSON
{
  "hex": "#e5dc51",
  "rgb": {
    "r": 229,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 56.351,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87673,
    "c": 0.15648,
    "h": 105.6
  },
  "luminance": 0.68438
}

Semantic roles & 50–950 ramp

primary
#E5DC51
secondary
#353BA6
accent
#1BD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5DC51

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

Preview Lab → · Contrast checker → · Palette generator →

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