#E0CC54#E0CC54

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

Color values

HEX#E0CC54
RGBrgb(224, 204, 84)
HSLhsl(51, 69%, 60%)
HSVhsv(51, 63%, 88%)
CMYKcmyk(0%, 8.9%, 62.5%, 12.2%)
CIE-LABlab(81.66, -7.00, 60.55)
CIE-LCHlch(81.66, 60.96, 96.60°)
OKLaboklab(83.95% -0.024 0.1381)
OKLCHoklch(83.95% 0.14 99.8)
XYZxyz(53.9358, 59.6754, 17.0633)
Luminance0.5967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CC54 #5468E0
analogous
#E08654 #E0CC54 #AEE054
triadic
#E0CC54 #54E0CC #CC54E0
tetradic
#E0CC54 #54E086 #5468E0 #E054AE
square
#E0CC54 #54E086 #5468E0 #E054AE
split-complementary
#E0CC54 #54AEE0 #8654E0
monochromatic
#9D8B1C #D1B826 #E0CC54 #E9DB88 #F3EBBC

Accessibility & contrast

On white

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

On black

12.93
#E0CC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CC54
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CC54#FFFFFF#000000##000000
##E0CC541.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e0cc54;
/* rgb */ color: rgb(224, 204, 84);
/* oklch */ color: oklch(84.0% 0.140 99.8);
Tailwind
colors: {
  custom: {
    50: '#eddb89',
    500: '#e0cc54',
    950: '#000000',
  },
}
SCSS
$custom: #e0cc54;
$custom-light: #eddb89;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cc54",
  "rgb": {
    "r": 224,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 51.429,
    "s": 69.307,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83953,
    "c": 0.14021,
    "h": 99.8
  },
  "luminance": 0.59673
}

Semantic roles & 50–950 ramp

primary
#E0CC54
secondary
#3847A1
accent
#2FD114
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0CC54

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

Preview Lab → · Contrast checker → · Palette generator →

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