#E4CC58#E4CC58

#E4CC58 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.4% C 0.137 H 97.6°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#E4CC58
RGBrgb(228, 204, 88)
HSLhsl(50, 72%, 62%)
HSVhsv(50, 61%, 89%)
CMYKcmyk(0%, 10.5%, 61.4%, 10.6%)
CIE-LABlab(82.05, -5.08, 59.34)
CIE-LCHlch(82.05, 59.56, 94.89°)
OKLaboklab(84.35% -0.0182 0.136)
OKLCHoklch(84.35% 0.137 97.6)
XYZxyz(55.3515, 60.3868, 17.9709)
Luminance0.6038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC58 #5870E4
analogous
#E48658 #E4CC58 #B6E458
triadic
#E4CC58 #58E4CC #CC58E4
tetradic
#E4CC58 #58E486 #5870E4 #E458B6
square
#E4CC58 #58E486 #5870E4 #E458B6
split-complementary
#E4CC58 #58B6E4 #8658E4
monochromatic
#A78F1B #DBBC23 #E4CC58 #EDDC8D #F5ECC1

Accessibility & contrast

On white

1.61
#E4CC58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#E4CC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CC58
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CC58#FFFFFF#000000##000000
##E4CC581.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74B
Deuteranopia (green-blind)
#E5D05E
Tritanopia (blue-blind)
#F5BEB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e4cc58;
/* rgb */ color: rgb(228, 204, 88);
/* oklch */ color: oklch(84.4% 0.137 97.6);
Tailwind
colors: {
  custom: {
    50: '#f0db8c',
    500: '#e4cc58',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc58;
$custom-light: #f0db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc58",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 49.714,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84353,
    "c": 0.13724,
    "h": 97.6
  },
  "luminance": 0.60384
}

Semantic roles & 50–950 ramp

primary
#E4CC58
secondary
#374BA9
accent
#33D411
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4CC58

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

Preview Lab → · Contrast checker → · Palette generator →

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