#E4DF57#E4DF57

#E4DF57 is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.3% C 0.155 H 107.2°. Best body text is #000000 at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#E4DF57
RGBrgb(228, 223, 87)
HSLhsl(58, 72%, 62%)
HSVhsv(58, 62%, 89%)
CMYKcmyk(0%, 2.2%, 61.8%, 10.6%)
CIE-LABlab(86.98, -14.70, 65.10)
CIE-LCHlch(86.98, 66.74, 102.72°)
OKLaboklab(88.27% -0.0458 0.1481)
OKLCHoklch(88.27% 0.155 107.2)
XYZxyz(60.1049, 69.9593, 19.3524)
Luminance0.6996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DF57 #575CE4
analogous
#E49857 #E4DF57 #A3E457
triadic
#E4DF57 #57E4DF #DF57E4
tetradic
#E4DF57 #57E498 #575CE4 #E457A3
square
#E4DF57 #57E498 #575CE4 #E457A3
split-complementary
#E4DF57 #57A3E4 #9857E4
monochromatic
#A6A11B #DBD423 #E4DF57 #ECE98C #F5F3C0

Accessibility & contrast

On white

1.40
#E4DF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.99
#E4DF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DF57
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DF57#FFFFFF#000000##000000
##E4DF571.001.4014.9914.99
#FFFFFF1.401.0021.0021.00
#00000014.9921.001.001.00
##00000014.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D746
Deuteranopia (green-blind)
#F3DC5F
Tritanopia (blue-blind)
#F3D1C3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e4df57;
/* rgb */ color: rgb(228, 223, 87);
/* oklch */ color: oklch(88.3% 0.155 107.2);
Tailwind
colors: {
  custom: {
    50: '#f0e88c',
    500: '#e4df57',
    950: '#000000',
  },
}
SCSS
$custom: #e4df57;
$custom-light: #f0e88c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4df57",
  "rgb": {
    "r": 228,
    "g": 223,
    "b": 87
  },
  "hsl": {
    "h": 57.872,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.88266,
    "c": 0.155,
    "h": 107.2
  },
  "luminance": 0.69957
}

Semantic roles & 50–950 ramp

primary
#E4DF57
secondary
#373BA8
accent
#18D411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E4DF57

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

Preview Lab → · Contrast checker → · Palette generator →

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