#E1DF52#E1DF52

#E1DF52 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.0% C 0.159 H 108.5°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#E1DF52
RGBrgb(225, 223, 82)
HSLhsl(59, 70%, 60%)
HSVhsv(59, 64%, 88%)
CMYKcmyk(0%, 0.9%, 63.6%, 11.8%)
CIE-LABlab(86.70, -16.23, 66.76)
CIE-LCHlch(86.70, 68.70, 103.67°)
OKLaboklab(87.97% -0.0505 0.151)
OKLCHoklch(87.97% 0.159 108.5)
XYZxyz(58.9640, 69.3939, 18.2693)
Luminance0.6939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DF52 #5254E1
analogous
#E19852 #E1DF52 #9BE152
triadic
#E1DF52 #52E1DF #DF52E1
tetradic
#E1DF52 #52E198 #5254E1 #E1529B
square
#E1DF52 #52E198 #5254E1 #E1529B
split-complementary
#E1DF52 #529BE1 #9852E1
monochromatic
#9D9C1B #D1CF24 #E1DF52 #EAE986 #F3F2BA

Accessibility & contrast

On white

1.41
#E1DF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#E1DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DF52
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DF52#FFFFFF#000000##000000
##E1DF521.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63F
Deuteranopia (green-blind)
#F3DB5B
Tritanopia (blue-blind)
#F0D1C2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e1df52;
/* rgb */ color: rgb(225, 223, 82);
/* oklch */ color: oklch(88.0% 0.159 108.5);
Tailwind
colors: {
  custom: {
    50: '#eee889',
    500: '#e1df52',
    950: '#000000',
  },
}
SCSS
$custom: #e1df52;
$custom-light: #eee889;
$custom-dark: #000000;
JSON
{
  "hex": "#e1df52",
  "rgb": {
    "r": 225,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 59.161,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87974,
    "c": 0.15916,
    "h": 108.5
  },
  "luminance": 0.69392
}

Semantic roles & 50–950 ramp

primary
#E1DF52
secondary
#3738A1
accent
#16D213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E1DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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