#E5DF52#E5DF52

#E5DF52 is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.3% C 0.159 H 106.9°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#E5DF52
RGBrgb(229, 223, 82)
HSLhsl(58, 74%, 61%)
HSVhsv(58, 64%, 90%)
CMYKcmyk(0%, 2.6%, 64.2%, 10.2%)
CIE-LABlab(87.02, -14.59, 67.19)
CIE-LCHlch(87.02, 68.75, 102.25°)
OKLaboklab(88.31% -0.0461 0.1518)
OKLCHoklch(88.31% 0.159 106.9)
XYZxyz(60.2259, 70.0445, 18.3285)
Luminance0.7004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DF52 #5258E5
analogous
#E59552 #E5DF52 #A1E552
triadic
#E5DF52 #52E5DF #DF52E5
tetradic
#E5DF52 #52E595 #5258E5 #E552A1
square
#E5DF52 #52E595 #5258E5 #E552A1
split-complementary
#E5DF52 #52A1E5 #9552E5
monochromatic
#A49E19 #D9D221 #E5DF52 #EDE987 #F5F3BC

Accessibility & contrast

On white

1.40
#E5DF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.01
#E5DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DF52
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DF52#FFFFFF#000000##000000
##E5DF521.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73F
Deuteranopia (green-blind)
#F4DD5B
Tritanopia (blue-blind)
#F5D1C2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e5df52;
/* rgb */ color: rgb(229, 223, 82);
/* oklch */ color: oklch(88.3% 0.159 106.9);
Tailwind
colors: {
  custom: {
    50: '#f0e889',
    500: '#e5df52',
    950: '#000000',
  },
}
SCSS
$custom: #e5df52;
$custom-light: #f0e889;
$custom-dark: #000000;
JSON
{
  "hex": "#e5df52",
  "rgb": {
    "r": 229,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 57.551,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.88307,
    "c": 0.15859,
    "h": 106.9
  },
  "luminance": 0.70043
}

Semantic roles & 50–950 ramp

primary
#E5DF52
secondary
#353AA6
accent
#18D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E5DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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