#E4CC59#E4CC59

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

Color values

HEX#E4CC59
RGBrgb(228, 204, 89)
HSLhsl(50, 72%, 62%)
HSVhsv(50, 61%, 89%)
CMYKcmyk(0%, 10.5%, 61%, 10.6%)
CIE-LABlab(82.06, -5.01, 58.91)
CIE-LCHlch(82.06, 59.12, 94.86°)
OKLaboklab(84.36% -0.0179 0.1352)
OKLCHoklch(84.36% 0.136 97.6)
XYZxyz(55.3933, 60.4035, 18.1905)
Luminance0.6040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC59 #5971E4
analogous
#E48659 #E4CC59 #B7E459
triadic
#E4CC59 #59E4CC #CC59E4
tetradic
#E4CC59 #59E486 #5971E4 #E459B7
square
#E4CC59 #59E486 #5971E4 #E459B7
split-complementary
#E4CC59 #59B7E4 #8659E4
monochromatic
#A78F1B #DBBC24 #E4CC59 #EDDC8E #F5ECC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4CC59#FFFFFF#000000##000000
##E4CC591.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)
#DEC74C
Deuteranopia (green-blind)
#E5D05F
Tritanopia (blue-blind)
#F5BEB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e4cc59;
/* rgb */ color: rgb(228, 204, 89);
/* oklch */ color: oklch(84.4% 0.136 97.6);
Tailwind
colors: {
  custom: {
    50: '#f0db8c',
    500: '#e4cc59',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc59;
$custom-light: #f0db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc59",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 49.64,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84363,
    "c": 0.13643,
    "h": 97.6
  },
  "luminance": 0.60401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E4CC59

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

Preview Lab → · Contrast checker → · Palette generator →

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