#E1CC52#E1CC52

#E1CC52 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 84.0% C 0.142 H 99.5°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#E1CC52
RGBrgb(225, 204, 82)
HSLhsl(51, 70%, 60%)
HSVhsv(51, 64%, 88%)
CMYKcmyk(0%, 9.3%, 63.6%, 11.8%)
CIE-LABlab(81.73, -6.71, 61.51)
CIE-LCHlch(81.73, 61.87, 96.23°)
OKLaboklab(84.02% -0.0234 0.1399)
OKLCHoklch(84.02% 0.142 99.5)
XYZxyz(54.1695, 59.8049, 16.6712)
Luminance0.5980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1CC52 #5267E1
analogous
#E18552 #E1CC52 #AEE152
triadic
#E1CC52 #52E1CC #CC52E1
tetradic
#E1CC52 #52E185 #5267E1 #E152AE
square
#E1CC52 #52E185 #5267E1 #E152AE
split-complementary
#E1CC52 #52AEE1 #8552E1
monochromatic
#9D8A1B #D1B824 #E1CC52 #EADB86 #F3EBBA

Accessibility & contrast

On white

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

On black

12.96
#E1CC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1CC52
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1CC52#FFFFFF#000000##000000
##E1CC521.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC743
Deuteranopia (green-blind)
#E4CF59
Tritanopia (blue-blind)
#F2BEB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e1cc52;
/* rgb */ color: rgb(225, 204, 82);
/* oklch */ color: oklch(84.0% 0.142 99.5);
Tailwind
colors: {
  custom: {
    50: '#eedb88',
    500: '#e1cc52',
    950: '#000000',
  },
}
SCSS
$custom: #e1cc52;
$custom-light: #eedb88;
$custom-dark: #000000;
JSON
{
  "hex": "#e1cc52",
  "rgb": {
    "r": 225,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 51.189,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84024,
    "c": 0.1418,
    "h": 99.5
  },
  "luminance": 0.59802
}

Semantic roles & 50–950 ramp

primary
#E1CC52
secondary
#3746A1
accent
#2FD213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E1CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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