#E0CC59#E0CC59

#E0CC59 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 84.0% C 0.136 H 99.5°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#E0CC59
RGBrgb(224, 204, 89)
HSLhsl(51, 69%, 61%)
HSVhsv(51, 60%, 88%)
CMYKcmyk(0%, 8.9%, 60.3%, 12.2%)
CIE-LABlab(81.71, -6.68, 58.43)
CIE-LCHlch(81.71, 58.81, 96.52°)
OKLaboklab(84% -0.0225 0.1343)
OKLCHoklch(84% 0.136 99.5)
XYZxyz(54.1386, 59.7566, 18.1317)
Luminance0.5975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CC59 #596DE0
analogous
#E08959 #E0CC59 #B1E059
triadic
#E0CC59 #59E0CC #CC59E0
tetradic
#E0CC59 #59E089 #596DE0 #E059B1
square
#E0CC59 #59E089 #596DE0 #E059B1
split-complementary
#E0CC59 #59B1E0 #8959E0
monochromatic
#A18D1E #D4BB28 #E0CC59 #EADC8D #F3ECC0

Accessibility & contrast

On white

1.62
#E0CC59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#E0CC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CC59
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CC59#FFFFFF#000000##000000
##E0CC591.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74C
Deuteranopia (green-blind)
#E3CE5F
Tritanopia (blue-blind)
#F0BFB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e0cc59;
/* rgb */ color: rgb(224, 204, 89);
/* oklch */ color: oklch(84.0% 0.136 99.5);
Tailwind
colors: {
  custom: {
    50: '#eddb8c',
    500: '#e0cc59',
    950: '#000000',
  },
}
SCSS
$custom: #e0cc59;
$custom-light: #eddb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cc59",
  "rgb": {
    "r": 224,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 51.111,
    "s": 68.528,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84002,
    "c": 0.13617,
    "h": 99.5
  },
  "luminance": 0.59754
}

Semantic roles & 50–950 ramp

primary
#E0CC59
secondary
#3A49A4
accent
#31D015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0CC59

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

Preview Lab → · Contrast checker → · Palette generator →

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