#E5CC52#E5CC52

#E5CC52 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.4% C 0.142 H 97.6°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#E5CC52
RGBrgb(229, 204, 82)
HSLhsl(50, 74%, 61%)
HSVhsv(50, 64%, 90%)
CMYKcmyk(0%, 10.9%, 64.2%, 10.2%)
CIE-LABlab(82.09, -5.04, 61.99)
CIE-LCHlch(82.09, 62.20, 94.65°)
OKLaboklab(84.39% -0.0189 0.1408)
OKLCHoklch(84.39% 0.142 97.6)
XYZxyz(55.4314, 60.4556, 16.7303)
Luminance0.6045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC52 #526BE5
analogous
#E58252 #E5CC52 #B4E552
triadic
#E5CC52 #52E5CC #CC52E5
tetradic
#E5CC52 #52E582 #526BE5 #E552B4
square
#E5CC52 #52E582 #526BE5 #E552B4
split-complementary
#E5CC52 #52B4E5 #8252E5
monochromatic
#A48C19 #D9BA21 #E5CC52 #EDDC87 #F5EBBC

Accessibility & contrast

On white

1.60
#E5CC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#E5CC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC52
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC52#FFFFFF#000000##000000
##E5CC521.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#E6D058
Tritanopia (blue-blind)
#F6BEB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e5cc52;
/* rgb */ color: rgb(229, 204, 82);
/* oklch */ color: oklch(84.4% 0.142 97.6);
Tailwind
colors: {
  custom: {
    50: '#f1db88',
    500: '#e5cc52',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc52;
$custom-light: #f1db88;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc52",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 49.796,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84387,
    "c": 0.14202,
    "h": 97.6
  },
  "luminance": 0.60453
}

Semantic roles & 50–950 ramp

primary
#E5CC52
secondary
#3548A6
accent
#31D610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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