#E4D159#E4D159

#E4D159 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.4% C 0.141 H 100.3°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#E4D159
RGBrgb(228, 209, 89)
HSLhsl(52, 72%, 62%)
HSVhsv(52, 61%, 89%)
CMYKcmyk(0%, 8.3%, 61%, 10.6%)
CIE-LABlab(83.35, -7.56, 60.33)
CIE-LCHlch(83.35, 60.80, 97.14°)
OKLaboklab(85.39% -0.0252 0.1383)
OKLCHoklch(85.39% 0.141 100.3)
XYZxyz(56.6008, 62.8185, 18.5930)
Luminance0.6282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D159 #596CE4
analogous
#E48C59 #E4D159 #B1E459
triadic
#E4D159 #59E4D1 #D159E4
tetradic
#E4D159 #59E48C #596CE4 #E459B1
square
#E4D159 #59E48C #596CE4 #E459B1
split-complementary
#E4D159 #59B1E4 #8C59E4
monochromatic
#A7941B #DBC224 #E4D159 #EDE08E #F5EEC2

Accessibility & contrast

On white

1.55
#E4D159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#E4D159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D159
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D159#FFFFFF#000000##000000
##E4D1591.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB4C
Deuteranopia (green-blind)
#E9D35F
Tritanopia (blue-blind)
#F4C3B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e4d159;
/* rgb */ color: rgb(228, 209, 89);
/* oklch */ color: oklch(85.4% 0.141 100.3);
Tailwind
colors: {
  custom: {
    50: '#f0de8c',
    500: '#e4d159',
    950: '#000000',
  },
}
SCSS
$custom: #e4d159;
$custom-light: #f0de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d159",
  "rgb": {
    "r": 228,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 51.799,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.85386,
    "c": 0.14054,
    "h": 100.3
  },
  "luminance": 0.62816
}

Semantic roles & 50–950 ramp

primary
#E4D159
secondary
#3847A9
accent
#2CD411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4D159

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

Preview Lab → · Contrast checker → · Palette generator →

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