#E4C558#E4C558

#E4C558 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.9% C 0.132 H 93.4°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#E4C558
RGBrgb(228, 197, 88)
HSLhsl(47, 72%, 62%)
HSVhsv(47, 61%, 89%)
CMYKcmyk(0%, 13.6%, 61.4%, 10.6%)
CIE-LABlab(80.25, -1.48, 57.36)
CIE-LCHlch(80.25, 57.38, 91.48°)
OKLaboklab(82.94% -0.0079 0.1318)
OKLCHoklch(82.94% 0.132 93.4)
XYZxyz(53.7250, 57.1338, 17.4287)
Luminance0.5713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C558 #5877E4
analogous
#E47F58 #E4C558 #BDE458
triadic
#E4C558 #58E4C5 #C558E4
tetradic
#E4C558 #58E47F #5877E4 #E458BD
square
#E4C558 #58E47F #5877E4 #E458BD
split-complementary
#E4C558 #58BDE4 #7F58E4
monochromatic
#A7881B #DBB323 #E4C558 #EDD78D #F5EAC1

Accessibility & contrast

On white

1.69
#E4C558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#E4C558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C558
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C558#FFFFFF#000000##000000
##E4C5581.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24C
Deuteranopia (green-blind)
#E0CB5D
Tritanopia (blue-blind)
#F5B7AD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e4c558;
/* rgb */ color: rgb(228, 197, 88);
/* oklch */ color: oklch(82.9% 0.132 93.4);
Tailwind
colors: {
  custom: {
    50: '#f0d68b',
    500: '#e4c558',
    950: '#000000',
  },
}
SCSS
$custom: #e4c558;
$custom-light: #f0d68b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c558",
  "rgb": {
    "r": 228,
    "g": 197,
    "b": 88
  },
  "hsl": {
    "h": 46.714,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82935,
    "c": 0.13204,
    "h": 93.4
  },
  "luminance": 0.57131
}

Semantic roles & 50–950 ramp

primary
#E4C558
secondary
#3751A9
accent
#3CD411
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C558

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

Preview Lab → · Contrast checker → · Palette generator →

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