#E0CC58#E0CC58

#E0CC58 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.0% C 0.137 H 99.6°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#E0CC58
RGBrgb(224, 204, 88)
HSLhsl(51, 69%, 61%)
HSVhsv(51, 61%, 88%)
CMYKcmyk(0%, 8.9%, 60.7%, 12.2%)
CIE-LABlab(81.70, -6.74, 58.86)
CIE-LCHlch(81.70, 59.24, 96.54°)
OKLaboklab(83.99% -0.0228 0.1351)
OKLCHoklch(83.99% 0.137 99.6)
XYZxyz(54.0969, 59.7399, 17.9121)
Luminance0.5974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CC58 #586CE0
analogous
#E08858 #E0CC58 #B0E058
triadic
#E0CC58 #58E0CC #CC58E0
tetradic
#E0CC58 #58E088 #586CE0 #E058B0
square
#E0CC58 #58E088 #586CE0 #E058B0
split-complementary
#E0CC58 #58B0E0 #8858E0
monochromatic
#A08D1E #D4BA27 #E0CC58 #EADC8C #F3ECBF

Accessibility & contrast

On white

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

On black

12.95
#E0CC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CC58
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CC58#FFFFFF#000000##000000
##E0CC581.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74B
Deuteranopia (green-blind)
#E3CE5E
Tritanopia (blue-blind)
#F0BFB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e0cc58;
/* rgb */ color: rgb(224, 204, 88);
/* oklch */ color: oklch(84.0% 0.137 99.6);
Tailwind
colors: {
  custom: {
    50: '#eddb8b',
    500: '#e0cc58',
    950: '#000000',
  },
}
SCSS
$custom: #e0cc58;
$custom-light: #eddb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cc58",
  "rgb": {
    "r": 224,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 51.176,
    "s": 68.687,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83992,
    "c": 0.13699,
    "h": 99.6
  },
  "luminance": 0.59738
}

Semantic roles & 50–950 ramp

primary
#E0CC58
secondary
#3949A3
accent
#30D115
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0CC58

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

Preview Lab → · Contrast checker → · Palette generator →

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