#E4D959#E4D959

#E4D959 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.0% C 0.148 H 104.4°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#E4D959
RGBrgb(228, 217, 89)
HSLhsl(55, 72%, 62%)
HSVhsv(55, 61%, 89%)
CMYKcmyk(0%, 4.8%, 61%, 10.6%)
CIE-LABlab(85.42, -11.59, 62.59)
CIE-LCHlch(85.42, 63.66, 100.49°)
OKLaboklab(87.04% -0.0367 0.1431)
OKLCHoklch(87.04% 0.148 104.4)
XYZxyz(58.6130, 66.8430, 19.2638)
Luminance0.6684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D959 #5964E4
analogous
#E49459 #E4D959 #A9E459
triadic
#E4D959 #59E4D9 #D959E4
tetradic
#E4D959 #59E494 #5964E4 #E459A9
square
#E4D959 #59E494 #5964E4 #E459A9
split-complementary
#E4D959 #59A9E4 #9459E4
monochromatic
#A79C1B #DBCD24 #E4D959 #EDE58E #F5F1C2

Accessibility & contrast

On white

1.46
#E4D959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#E4D959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D959
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D959#FFFFFF#000000##000000
##E4D9591.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD24A
Deuteranopia (green-blind)
#EFD860
Tritanopia (blue-blind)
#F4CBBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e4d959;
/* rgb */ color: rgb(228, 217, 89);
/* oklch */ color: oklch(87.0% 0.148 104.4);
Tailwind
colors: {
  custom: {
    50: '#f0e48d',
    500: '#e4d959',
    950: '#000000',
  },
}
SCSS
$custom: #e4d959;
$custom-light: #f0e48d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d959",
  "rgb": {
    "r": 228,
    "g": 217,
    "b": 89
  },
  "hsl": {
    "h": 55.252,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.87036,
    "c": 0.1477,
    "h": 104.4
  },
  "luminance": 0.66841
}

Semantic roles & 50–950 ramp

primary
#E4D959
secondary
#3841A9
accent
#21D411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D959

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

Preview Lab → · Contrast checker → · Palette generator →

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