#E0CC5E#E0CC5E

#E0CC5E is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 84.1% C 0.132 H 99.1°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#E0CC5E
RGBrgb(224, 204, 94)
HSLhsl(51, 68%, 62%)
HSVhsv(51, 58%, 88%)
CMYKcmyk(0%, 8.9%, 58%, 12.2%)
CIE-LABlab(81.75, -6.33, 56.24)
CIE-LCHlch(81.75, 56.59, 96.42°)
OKLaboklab(84.06% -0.0209 0.1303)
OKLCHoklch(84.06% 0.132 99.1)
XYZxyz(54.3558, 59.8434, 19.2753)
Luminance0.5984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CC5E #5E72E0
analogous
#E08B5E #E0CC5E #B3E05E
triadic
#E0CC5E #5EE0CC #CC5EE0
tetradic
#E0CC5E #5EE08B #5E72E0 #E05EB3
square
#E0CC5E #5EE08B #5E72E0 #E05EB3
split-complementary
#E0CC5E #5EB3E0 #8B5EE0
monochromatic
#A49020 #D6BC2B #E0CC5E #EADC91 #F4EDC5

Accessibility & contrast

On white

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

On black

12.97
#E0CC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CC5E
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CC5E#FFFFFF#000000##000000
##E0CC5E1.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC753
Deuteranopia (green-blind)
#E3CE63
Tritanopia (blue-blind)
#F0BFB4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e0cc5e;
/* rgb */ color: rgb(224, 204, 94);
/* oklch */ color: oklch(84.1% 0.132 99.1);
Tailwind
colors: {
  custom: {
    50: '#ecdb8f',
    500: '#e0cc5e',
    950: '#000000',
  },
}
SCSS
$custom: #e0cc5e;
$custom-light: #ecdb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cc5e",
  "rgb": {
    "r": 224,
    "g": 204,
    "b": 94
  },
  "hsl": {
    "h": 50.769,
    "s": 67.708,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84055,
    "c": 0.13192,
    "h": 99.1
  },
  "luminance": 0.59841
}

Semantic roles & 50–950 ramp

primary
#E0CC5E
secondary
#3B4CA7
accent
#32D016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E0CC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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