#E0CC50#E0CC50

#E0CC50 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.9% C 0.143 H 100.1°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#E0CC50
RGBrgb(224, 204, 80)
HSLhsl(52, 70%, 60%)
HSVhsv(52, 64%, 88%)
CMYKcmyk(0%, 8.9%, 64.3%, 12.2%)
CIE-LABlab(81.63, -7.25, 62.21)
CIE-LCHlch(81.63, 62.63, 96.65°)
OKLaboklab(83.92% -0.0251 0.1411)
OKLCHoklch(83.92% 0.143 100.1)
XYZxyz(53.7836, 59.6146, 16.2616)
Luminance0.5961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CC50 #5064E0
analogous
#E08450 #E0CC50 #ACE050
triadic
#E0CC50 #50E0CC #CC50E0
tetradic
#E0CC50 #50E084 #5064E0 #E050AC
square
#E0CC50 #50E084 #5064E0 #E050AC
split-complementary
#E0CC50 #50ACE0 #8450E0
monochromatic
#9A891B #CEB725 #E0CC50 #E9DB84 #F2EAB8

Accessibility & contrast

On white

1.63
#E0CC50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#E0CC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CC50
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CC50#FFFFFF#000000##000000
##E0CC501.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC741
Deuteranopia (green-blind)
#E4CE57
Tritanopia (blue-blind)
#F0BEB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e0cc50;
/* rgb */ color: rgb(224, 204, 80);
/* oklch */ color: oklch(83.9% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#eddb87',
    500: '#e0cc50',
    950: '#000000',
  },
}
SCSS
$custom: #e0cc50;
$custom-light: #eddb87;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cc50",
  "rgb": {
    "r": 224,
    "g": 204,
    "b": 80
  },
  "hsl": {
    "h": 51.667,
    "s": 69.903,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83916,
    "c": 0.14329,
    "h": 100.1
  },
  "luminance": 0.59612
}

Semantic roles & 50–950 ramp

primary
#E0CC50
secondary
#36459E
accent
#54ED3B
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0CC50

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

Preview Lab → · Contrast checker → · Palette generator →

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