#E9CC52#E9CC52

#E9CC52 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.8% C 0.142 H 95.8°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#E9CC52
RGBrgb(233, 204, 82)
HSLhsl(48, 77%, 62%)
HSVhsv(48, 65%, 91%)
CMYKcmyk(0%, 12.4%, 64.8%, 8.6%)
CIE-LABlab(82.44, -3.37, 62.48)
CIE-LCHlch(82.44, 62.57, 93.08°)
OKLaboklab(84.76% -0.0143 0.1417)
OKLCHoklch(84.76% 0.142 95.8)
XYZxyz(56.7228, 61.1214, 16.7909)
Luminance0.6112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9CC52 #526FE9
analogous
#E98152 #E9CC52 #BBE952
triadic
#E9CC52 #52E9CC #CC52E9
tetradic
#E9CC52 #52E981 #526FE9 #E952BB
square
#E9CC52 #52E981 #526FE9 #E952BB
split-complementary
#E9CC52 #52BBE9 #8152E9
monochromatic
#AB8E16 #E1BB1D #E9CC52 #F0DC88 #F7ECBF

Accessibility & contrast

On white

1.59
#E9CC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#E9CC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9CC52
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9CC52#FFFFFF#000000##000000
##E9CC521.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C843
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#FBBDB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e9cc52;
/* rgb */ color: rgb(233, 204, 82);
/* oklch */ color: oklch(84.8% 0.142 95.8);
Tailwind
colors: {
  custom: {
    50: '#f4db88',
    500: '#e9cc52',
    950: '#000000',
  },
}
SCSS
$custom: #e9cc52;
$custom-light: #f4db88;
$custom-dark: #000000;
JSON
{
  "hex": "#e9cc52",
  "rgb": {
    "r": 233,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 48.477,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84756,
    "c": 0.14241,
    "h": 95.8
  },
  "luminance": 0.61119
}

Semantic roles & 50–950 ramp

primary
#E9CC52
secondary
#334AAC
accent
#33DA0C
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E9CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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