#E2CC59#E2CC59

#E2CC59 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.2% C 0.136 H 98.5°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#E2CC59
RGBrgb(226, 204, 89)
HSLhsl(50, 70%, 62%)
HSVhsv(50, 61%, 89%)
CMYKcmyk(0%, 9.7%, 60.6%, 11.4%)
CIE-LABlab(81.88, -5.84, 58.67)
CIE-LCHlch(81.88, 58.96, 95.69°)
OKLaboklab(84.18% -0.0202 0.1348)
OKLCHoklch(84.18% 0.136 98.5)
XYZxyz(54.7623, 60.0782, 18.1609)
Luminance0.6008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CC59 #596FE2
analogous
#E28859 #E2CC59 #B4E259
triadic
#E2CC59 #59E2CC #CC59E2
tetradic
#E2CC59 #59E288 #596FE2 #E259B4
square
#E2CC59 #59E288 #596FE2 #E259B4
split-complementary
#E2CC59 #59B4E2 #8859E2
monochromatic
#A48E1D #D8BB26 #E2CC59 #EBDC8D #F4ECC1

Accessibility & contrast

On white

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

On black

13.02
#E2CC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CC59
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CC59#FFFFFF#000000##000000
##E2CC591.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74C
Deuteranopia (green-blind)
#E4CF5F
Tritanopia (blue-blind)
#F2BEB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cc59;
/* rgb */ color: rgb(226, 204, 89);
/* oklch */ color: oklch(84.2% 0.136 98.5);
Tailwind
colors: {
  custom: {
    50: '#eedb8c',
    500: '#e2cc59',
    950: '#000000',
  },
}
SCSS
$custom: #e2cc59;
$custom-light: #eedb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cc59",
  "rgb": {
    "r": 226,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 50.365,
    "s": 70.256,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84182,
    "c": 0.13628,
    "h": 98.5
  },
  "luminance": 0.60076
}

Semantic roles & 50–950 ramp

primary
#E2CC59
secondary
#394AA6
accent
#32D213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2CC59

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

Preview Lab → · Contrast checker → · Palette generator →

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