#E1DC57#E1DC57

#E1DC57 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.4% C 0.152 H 107.1°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#E1DC57
RGBrgb(225, 220, 87)
HSLhsl(58, 70%, 61%)
HSVhsv(58, 61%, 88%)
CMYKcmyk(0%, 2.2%, 61.3%, 11.8%)
CIE-LABlab(85.95, -14.44, 63.93)
CIE-LCHlch(85.95, 65.54, 102.73°)
OKLaboklab(87.39% -0.0449 0.1457)
OKLCHoklch(87.39% 0.152 107.1)
XYZxyz(58.3668, 67.8839, 19.0433)
Luminance0.6788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DC57 #575CE1
analogous
#E19757 #E1DC57 #A1E157
triadic
#E1DC57 #57E1DC #DC57E1
tetradic
#E1DC57 #57E197 #575CE1 #E157A1
square
#E1DC57 #57E197 #575CE1 #E157A1
split-complementary
#E1DC57 #57A1E1 #9757E1
monochromatic
#A19C1D #D5CE26 #E1DC57 #EAE78B #F4F2BF

Accessibility & contrast

On white

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

On black

14.58
#E1DC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DC57
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DC57#FFFFFF#000000##000000
##E1DC571.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD447
Deuteranopia (green-blind)
#F0D95F
Tritanopia (blue-blind)
#F0CFC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e1dc57;
/* rgb */ color: rgb(225, 220, 87);
/* oklch */ color: oklch(87.4% 0.152 107.1);
Tailwind
colors: {
  custom: {
    50: '#ede68c',
    500: '#e1dc57',
    950: '#000000',
  },
}
SCSS
$custom: #e1dc57;
$custom-light: #ede68c;
$custom-dark: #000000;
JSON
{
  "hex": "#e1dc57",
  "rgb": {
    "r": 225,
    "g": 220,
    "b": 87
  },
  "hsl": {
    "h": 57.826,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87388,
    "c": 0.15245,
    "h": 107.1
  },
  "luminance": 0.67882
}

Semantic roles & 50–950 ramp

primary
#E1DC57
secondary
#383CA4
accent
#1BD214
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E1DC57

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

Preview Lab → · Contrast checker → · Palette generator →

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