#E2CC50#E2CC50

#E2CC50 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 84.1% C 0.143 H 99.2°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#E2CC50
RGBrgb(226, 204, 80)
HSLhsl(51, 72%, 60%)
HSVhsv(51, 65%, 89%)
CMYKcmyk(0%, 9.7%, 64.6%, 11.4%)
CIE-LABlab(81.80, -6.41, 62.45)
CIE-LCHlch(81.80, 62.78, 95.86°)
OKLaboklab(84.1% -0.0229 0.1415)
OKLCHoklch(84.1% 0.143 99.2)
XYZxyz(54.4072, 59.9361, 16.2909)
Luminance0.5993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CC50 #5066E2
analogous
#E28350 #E2CC50 #AFE250
triadic
#E2CC50 #50E2CC #CC50E2
tetradic
#E2CC50 #50E283 #5066E2 #E250AF
square
#E2CC50 #50E283 #5066E2 #E250AF
split-complementary
#E2CC50 #50AFE2 #8350E2
monochromatic
#9E8A1A #D2B823 #E2CC50 #EBDB84 #F3EBB9

Accessibility & contrast

On white

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

On black

12.99
#E2CC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CC50
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CC50#FFFFFF#000000##000000
##E2CC501.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC741
Deuteranopia (green-blind)
#E5CF57
Tritanopia (blue-blind)
#F3BEB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e2cc50;
/* rgb */ color: rgb(226, 204, 80);
/* oklch */ color: oklch(84.1% 0.143 99.2);
Tailwind
colors: {
  custom: {
    50: '#eedb87',
    500: '#e2cc50',
    950: '#000000',
  },
}
SCSS
$custom: #e2cc50;
$custom-light: #eedb87;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cc50",
  "rgb": {
    "r": 226,
    "g": 204,
    "b": 80
  },
  "hsl": {
    "h": 50.959,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.84096,
    "c": 0.14335,
    "h": 99.2
  },
  "luminance": 0.59934
}

Semantic roles & 50–950 ramp

primary
#E2CC50
secondary
#3546A1
accent
#55EE39
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2CC50

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

Preview Lab → · Contrast checker → · Palette generator →

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