#E2CC5A#E2CC5A

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

Color values

HEX#E2CC5A
RGBrgb(226, 204, 90)
HSLhsl(50, 70%, 62%)
HSVhsv(50, 60%, 89%)
CMYKcmyk(0%, 9.7%, 60.2%, 11.4%)
CIE-LABlab(81.89, -5.78, 58.24)
CIE-LCHlch(81.89, 58.52, 95.66°)
OKLaboklab(84.19% -0.0199 0.134)
OKLCHoklch(84.19% 0.135 98.4)
XYZxyz(54.8046, 60.0951, 18.3836)
Luminance0.6009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CC5A #5A70E2
analogous
#E2885A #E2CC5A #B4E25A
triadic
#E2CC5A #5AE2CC #CC5AE2
tetradic
#E2CC5A #5AE288 #5A70E2 #E25AB4
square
#E2CC5A #5AE288 #5A70E2 #E25AB4
split-complementary
#E2CC5A #5AB4E2 #885AE2
monochromatic
#A58F1D #D9BC26 #E2CC5A #EBDC8E #F4ECC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CC5A#FFFFFF#000000##000000
##E2CC5A1.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)
#DEC74E
Deuteranopia (green-blind)
#E4CF60
Tritanopia (blue-blind)
#F2BEB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cc5a;
/* rgb */ color: rgb(226, 204, 90);
/* oklch */ color: oklch(84.2% 0.135 98.4);
Tailwind
colors: {
  custom: {
    50: '#eedb8d',
    500: '#e2cc5a',
    950: '#000000',
  },
}
SCSS
$custom: #e2cc5a;
$custom-light: #eedb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cc5a",
  "rgb": {
    "r": 226,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 50.294,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84192,
    "c": 0.13544,
    "h": 98.4
  },
  "luminance": 0.60093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2CC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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