#E0CC56#E0CC56

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

Color values

HEX#E0CC56
RGBrgb(224, 204, 86)
HSLhsl(51, 69%, 61%)
HSVhsv(51, 62%, 88%)
CMYKcmyk(0%, 8.9%, 61.6%, 12.2%)
CIE-LABlab(81.68, -6.87, 59.71)
CIE-LCHlch(81.68, 60.10, 96.57°)
OKLaboklab(83.97% -0.0234 0.1366)
OKLCHoklch(83.97% 0.139 99.7)
XYZxyz(54.0152, 59.7072, 17.4817)
Luminance0.5970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CC56 #566AE0
analogous
#E08756 #E0CC56 #AFE056
triadic
#E0CC56 #56E0CC #CC56E0
tetradic
#E0CC56 #56E087 #566AE0 #E056AF
square
#E0CC56 #56E087 #566AE0 #E056AF
split-complementary
#E0CC56 #56AFE0 #8756E0
monochromatic
#9F8C1D #D2B927 #E0CC56 #E9DC8A #F3EBBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E0CC56#FFFFFF#000000##000000
##E0CC561.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)
#DEC749
Deuteranopia (green-blind)
#E4CE5C
Tritanopia (blue-blind)
#F0BEB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e0cc56;
/* rgb */ color: rgb(224, 204, 86);
/* oklch */ color: oklch(84.0% 0.139 99.7);
Tailwind
colors: {
  custom: {
    50: '#eddb8a',
    500: '#e0cc56',
    950: '#000000',
  },
}
SCSS
$custom: #e0cc56;
$custom-light: #eddb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cc56",
  "rgb": {
    "r": 224,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 51.304,
    "s": 69,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83972,
    "c": 0.13862,
    "h": 99.7
  },
  "luminance": 0.59705
}

Semantic roles & 50–950 ramp

primary
#E0CC56
secondary
#3848A2
accent
#30D115
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0CC56

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

Preview Lab → · Contrast checker → · Palette generator →

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