#E0CC55#E0CC55

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

Color values

HEX#E0CC55
RGBrgb(224, 204, 85)
HSLhsl(51, 69%, 61%)
HSVhsv(51, 62%, 88%)
CMYKcmyk(0%, 8.9%, 62.1%, 12.2%)
CIE-LABlab(81.67, -6.94, 60.13)
CIE-LCHlch(81.67, 60.53, 96.58°)
OKLaboklab(83.96% -0.0237 0.1374)
OKLCHoklch(83.96% 0.139 99.8)
XYZxyz(53.9752, 59.6912, 17.2710)
Luminance0.5969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CC55 #5569E0
analogous
#E08655 #E0CC55 #AEE055
triadic
#E0CC55 #55E0CC #CC55E0
tetradic
#E0CC55 #55E086 #5569E0 #E055AE
square
#E0CC55 #55E086 #5569E0 #E055AE
split-complementary
#E0CC55 #55AEE0 #8655E0
monochromatic
#9E8B1D #D2B926 #E0CC55 #E9DC89 #F3EBBD

Accessibility & contrast

On white

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

On black

12.94
#E0CC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CC55
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CC55#FFFFFF#000000##000000
##E0CC551.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC747
Deuteranopia (green-blind)
#E4CE5B
Tritanopia (blue-blind)
#F0BEB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e0cc55;
/* rgb */ color: rgb(224, 204, 85);
/* oklch */ color: oklch(84.0% 0.139 99.8);
Tailwind
colors: {
  custom: {
    50: '#eddb8a',
    500: '#e0cc55',
    950: '#000000',
  },
}
SCSS
$custom: #e0cc55;
$custom-light: #eddb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cc55",
  "rgb": {
    "r": 224,
    "g": 204,
    "b": 85
  },
  "hsl": {
    "h": 51.367,
    "s": 69.154,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83962,
    "c": 0.13942,
    "h": 99.8
  },
  "luminance": 0.59689
}

Semantic roles & 50–950 ramp

primary
#E0CC55
secondary
#3847A1
accent
#30D114
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0CC55

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

Preview Lab → · Contrast checker → · Palette generator →

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