#E4D558#E4D558

#E4D558 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.2% C 0.145 H 102.5°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#E4D558
RGBrgb(228, 213, 88)
HSLhsl(54, 72%, 62%)
HSVhsv(54, 61%, 89%)
CMYKcmyk(0%, 6.6%, 61.4%, 10.6%)
CIE-LABlab(84.38, -9.65, 61.88)
CIE-LCHlch(84.38, 62.63, 98.86°)
OKLaboklab(86.2% -0.0313 0.1414)
OKLCHoklch(86.2% 0.145 102.5)
XYZxyz(57.5528, 64.7893, 18.7046)
Luminance0.6479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D558 #5867E4
analogous
#E48F58 #E4D558 #ADE458
triadic
#E4D558 #58E4D5 #D558E4
tetradic
#E4D558 #58E48F #5867E4 #E458AD
square
#E4D558 #58E48F #5867E4 #E458AD
split-complementary
#E4D558 #58ADE4 #8F58E4
monochromatic
#A7981B #DBC823 #E4D558 #EDE28D #F5EFC1

Accessibility & contrast

On white

1.50
#E4D558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#E4D558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D558
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D558#FFFFFF#000000##000000
##E4D5581.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4A
Deuteranopia (green-blind)
#ECD65F
Tritanopia (blue-blind)
#F4C7BA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e4d558;
/* rgb */ color: rgb(228, 213, 88);
/* oklch */ color: oklch(86.2% 0.145 102.5);
Tailwind
colors: {
  custom: {
    50: '#f0e18c',
    500: '#e4d558',
    950: '#000000',
  },
}
SCSS
$custom: #e4d558;
$custom-light: #f0e18c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d558",
  "rgb": {
    "r": 228,
    "g": 213,
    "b": 88
  },
  "hsl": {
    "h": 53.571,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86199,
    "c": 0.14483,
    "h": 102.5
  },
  "luminance": 0.64787
}

Semantic roles & 50–950 ramp

primary
#E4D558
secondary
#3744A9
accent
#26D411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4D558

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

Preview Lab → · Contrast checker → · Palette generator →

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