#E5DC52#E5DC52

#E5DC52 is a very light, vivid yellow. Relative luminance 0.685; 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#E5DC52
RGBrgb(229, 220, 82)
HSLhsl(56, 74%, 61%)
HSVhsv(56, 64%, 90%)
CMYKcmyk(0%, 3.9%, 64.2%, 10.2%)
CIE-LABlab(86.23, -13.10, 66.37)
CIE-LCHlch(86.23, 67.65, 101.17°)
OKLaboklab(87.68% -0.0418 0.15)
OKLCHoklch(87.68% 0.156 105.6)
XYZxyz(59.4315, 68.4557, 18.0637)
Luminance0.6845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DC52 #525BE5
analogous
#E59352 #E5DC52 #A4E552
triadic
#E5DC52 #52E5DC #DC52E5
tetradic
#E5DC52 #52E593 #525BE5 #E552A4
square
#E5DC52 #52E593 #525BE5 #E552A4
split-complementary
#E5DC52 #52A4E5 #9352E5
monochromatic
#A49B19 #D9CE21 #E5DC52 #EDE787 #F5F2BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5DC52#FFFFFF#000000##000000
##E5DC521.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)
#EED440
Deuteranopia (green-blind)
#F2DB5A
Tritanopia (blue-blind)
#F5CEC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e5dc52;
/* rgb */ color: rgb(229, 220, 82);
/* oklch */ color: oklch(87.7% 0.156 105.6);
Tailwind
colors: {
  custom: {
    50: '#f1e689',
    500: '#e5dc52',
    950: '#000000',
  },
}
SCSS
$custom: #e5dc52;
$custom-light: #f1e689;
$custom-dark: #000000;
JSON
{
  "hex": "#e5dc52",
  "rgb": {
    "r": 229,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 56.327,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87682,
    "c": 0.15576,
    "h": 105.6
  },
  "luminance": 0.68454
}

Semantic roles & 50–950 ramp

primary
#E5DC52
secondary
#353CA6
accent
#1CD610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5DC52

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

Preview Lab → · Contrast checker → · Palette generator →

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