#E1DB52#E1DB52

#E1DB52 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.1% C 0.155 H 106.8°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#E1DB52
RGBrgb(225, 219, 82)
HSLhsl(57, 70%, 60%)
HSVhsv(57, 64%, 88%)
CMYKcmyk(0%, 2.7%, 63.6%, 11.8%)
CIE-LABlab(85.65, -14.26, 65.65)
CIE-LCHlch(85.65, 67.18, 102.25°)
OKLaboklab(87.14% -0.0449 0.1486)
OKLCHoklch(87.14% 0.155 106.8)
XYZxyz(57.9079, 67.2817, 17.9173)
Luminance0.6728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DB52 #5258E1
analogous
#E19452 #E1DB52 #9FE152
triadic
#E1DB52 #52E1DB #DB52E1
tetradic
#E1DB52 #52E194 #5258E1 #E1529F
square
#E1DB52 #52E194 #5258E1 #E1529F
split-complementary
#E1DB52 #529FE1 #9452E1
monochromatic
#9D981B #D1CA24 #E1DB52 #EAE686 #F3F1BA

Accessibility & contrast

On white

1.45
#E1DB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#E1DB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DB52
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DB52#FFFFFF#000000##000000
##E1DB521.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD340
Deuteranopia (green-blind)
#EFD95A
Tritanopia (blue-blind)
#F1CDBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e1db52;
/* rgb */ color: rgb(225, 219, 82);
/* oklch */ color: oklch(87.1% 0.155 106.8);
Tailwind
colors: {
  custom: {
    50: '#eee589',
    500: '#e1db52',
    950: '#000000',
  },
}
SCSS
$custom: #e1db52;
$custom-light: #eee589;
$custom-dark: #000000;
JSON
{
  "hex": "#e1db52",
  "rgb": {
    "r": 225,
    "g": 219,
    "b": 82
  },
  "hsl": {
    "h": 57.483,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87135,
    "c": 0.15525,
    "h": 106.8
  },
  "luminance": 0.6728
}

Semantic roles & 50–950 ramp

primary
#E1DB52
secondary
#373BA1
accent
#1BD213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E1DB52

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

Preview Lab → · Contrast checker → · Palette generator →

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