#E1DC52#E1DC52

#E1DC52 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.3% C 0.156 H 107.2°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#E1DC52
RGBrgb(225, 220, 82)
HSLhsl(58, 70%, 60%)
HSVhsv(58, 64%, 88%)
CMYKcmyk(0%, 2.2%, 63.6%, 11.8%)
CIE-LABlab(85.91, -14.75, 65.93)
CIE-LCHlch(85.91, 67.56, 102.61°)
OKLaboklab(87.34% -0.0463 0.1492)
OKLCHoklch(87.34% 0.156 107.2)
XYZxyz(58.1695, 67.8050, 18.0045)
Luminance0.6780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DC52 #5257E1
analogous
#E19452 #E1DC52 #9FE152
triadic
#E1DC52 #52E1DC #DC52E1
tetradic
#E1DC52 #52E194 #5257E1 #E1529F
square
#E1DC52 #52E194 #5257E1 #E1529F
split-complementary
#E1DC52 #529FE1 #9452E1
monochromatic
#9D991B #D1CB24 #E1DC52 #EAE786 #F3F1BA

Accessibility & contrast

On white

1.44
#E1DC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#E1DC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DC52
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DC52#FFFFFF#000000##000000
##E1DC521.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD440
Deuteranopia (green-blind)
#F0D95B
Tritanopia (blue-blind)
#F0CEBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e1dc52;
/* rgb */ color: rgb(225, 220, 82);
/* oklch */ color: oklch(87.3% 0.156 107.2);
Tailwind
colors: {
  custom: {
    50: '#eee689',
    500: '#e1dc52',
    950: '#000000',
  },
}
SCSS
$custom: #e1dc52;
$custom-light: #eee689;
$custom-dark: #000000;
JSON
{
  "hex": "#e1dc52",
  "rgb": {
    "r": 225,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 57.902,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87344,
    "c": 0.15621,
    "h": 107.2
  },
  "luminance": 0.67803
}

Semantic roles & 50–950 ramp

primary
#E1DC52
secondary
#373AA1
accent
#1AD213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E1DC52

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

Preview Lab → · Contrast checker → · Palette generator →

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