#E1DC51#E1DC51

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

Color values

HEX#E1DC51
RGBrgb(225, 220, 81)
HSLhsl(58, 71%, 60%)
HSVhsv(58, 64%, 88%)
CMYKcmyk(0%, 2.2%, 64%, 11.8%)
CIE-LABlab(85.90, -14.81, 66.32)
CIE-LCHlch(85.90, 67.96, 102.59°)
OKLaboklab(87.34% -0.0465 0.1499)
OKLCHoklch(87.34% 0.157 107.3)
XYZxyz(58.1318, 67.7899, 17.8056)
Luminance0.6779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DC51 #5156E1
analogous
#E19451 #E1DC51 #9EE151
triadic
#E1DC51 #51E1DC #DC51E1
tetradic
#E1DC51 #51E194 #5156E1 #E1519E
square
#E1DC51 #51E194 #5156E1 #E1519E
split-complementary
#E1DC51 #519EE1 #9451E1
monochromatic
#9D981B #D1CB24 #E1DC51 #EAE785 #F3F1B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E1DC51#FFFFFF#000000##000000
##E1DC511.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)
#EED43F
Deuteranopia (green-blind)
#F0D95A
Tritanopia (blue-blind)
#F1CEBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e1dc51;
/* rgb */ color: rgb(225, 220, 81);
/* oklch */ color: oklch(87.3% 0.157 107.3);
Tailwind
colors: {
  custom: {
    50: '#eee688',
    500: '#e1dc51',
    950: '#000000',
  },
}
SCSS
$custom: #e1dc51;
$custom-light: #eee688;
$custom-dark: #000000;
JSON
{
  "hex": "#e1dc51",
  "rgb": {
    "r": 225,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 57.917,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.87336,
    "c": 0.15694,
    "h": 107.3
  },
  "luminance": 0.67788
}

Semantic roles & 50–950 ramp

primary
#E1DC51
secondary
#363AA0
accent
#41ED3A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E1DC51

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

Preview Lab → · Contrast checker → · Palette generator →

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