#E4D158#E4D158

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

Color values

HEX#E4D158
RGBrgb(228, 209, 88)
HSLhsl(52, 72%, 62%)
HSVhsv(52, 61%, 89%)
CMYKcmyk(0%, 8.3%, 61.4%, 10.6%)
CIE-LABlab(83.34, -7.62, 60.75)
CIE-LCHlch(83.34, 61.23, 97.15°)
OKLaboklab(85.38% -0.0255 0.139)
OKLCHoklch(85.38% 0.141 100.4)
XYZxyz(56.5591, 62.8019, 18.3734)
Luminance0.6280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D158 #586BE4
analogous
#E48B58 #E4D158 #B1E458
triadic
#E4D158 #58E4D1 #D158E4
tetradic
#E4D158 #58E48B #586BE4 #E458B1
square
#E4D158 #58E48B #586BE4 #E458B1
split-complementary
#E4D158 #58B1E4 #8B58E4
monochromatic
#A7941B #DBC223 #E4D158 #EDE08D #F5EEC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4D158#FFFFFF#000000##000000
##E4D1581.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)
#E3CB4A
Deuteranopia (green-blind)
#E9D35E
Tritanopia (blue-blind)
#F4C3B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e4d158;
/* rgb */ color: rgb(228, 209, 88);
/* oklch */ color: oklch(85.4% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#f0de8c',
    500: '#e4d158',
    950: '#000000',
  },
}
SCSS
$custom: #e4d158;
$custom-light: #f0de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d158",
  "rgb": {
    "r": 228,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 51.857,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.85376,
    "c": 0.14135,
    "h": 100.4
  },
  "luminance": 0.62799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E4D158

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

Preview Lab → · Contrast checker → · Palette generator →

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