#E4DC59#E4DC59

#E4DC59 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.7% C 0.151 H 105.8°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#E4DC59
RGBrgb(228, 220, 89)
HSLhsl(57, 72%, 62%)
HSVhsv(57, 61%, 89%)
CMYKcmyk(0%, 3.5%, 61%, 10.6%)
CIE-LABlab(86.21, -13.08, 63.44)
CIE-LCHlch(86.21, 64.78, 101.65°)
OKLaboklab(87.66% -0.041 0.1449)
OKLCHoklch(87.66% 0.151 105.8)
XYZxyz(59.3933, 68.4036, 19.5239)
Luminance0.6840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC59 #5961E4
analogous
#E49759 #E4DC59 #A6E459
triadic
#E4DC59 #59E4DC #DC59E4
tetradic
#E4DC59 #59E497 #5961E4 #E459A6
square
#E4DC59 #59E497 #5961E4 #E459A6
split-complementary
#E4DC59 #59A6E4 #9759E4
monochromatic
#A79F1B #DBD124 #E4DC59 #EDE78E #F5F2C2

Accessibility & contrast

On white

1.43
#E4DC59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.68
#E4DC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC59
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC59#FFFFFF#000000##000000
##E4DC591.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED44A
Deuteranopia (green-blind)
#F1DA61
Tritanopia (blue-blind)
#F4CEC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e4dc59;
/* rgb */ color: rgb(228, 220, 89);
/* oklch */ color: oklch(87.7% 0.151 105.8);
Tailwind
colors: {
  custom: {
    50: '#f0e68d',
    500: '#e4dc59',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc59;
$custom-light: #f0e68d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc59",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 89
  },
  "hsl": {
    "h": 56.547,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.87659,
    "c": 0.15055,
    "h": 105.8
  },
  "luminance": 0.68402
}

Semantic roles & 50–950 ramp

primary
#E4DC59
secondary
#383EA9
accent
#1DD411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4DC59

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

Preview Lab → · Contrast checker → · Palette generator →

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