#E4CC52#E4CC52

#E4CC52 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.3% C 0.142 H 98.1°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#E4CC52
RGBrgb(228, 204, 82)
HSLhsl(50, 73%, 61%)
HSVhsv(50, 64%, 89%)
CMYKcmyk(0%, 10.5%, 64%, 10.6%)
CIE-LABlab(82.00, -5.46, 61.87)
CIE-LCHlch(82.00, 62.11, 95.04°)
OKLaboklab(84.3% -0.02 0.1405)
OKLCHoklch(84.3% 0.142 98.1)
XYZxyz(55.1132, 60.2915, 16.7154)
Luminance0.6029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC52 #526AE4
analogous
#E48352 #E4CC52 #B3E452
triadic
#E4CC52 #52E4CC #CC52E4
tetradic
#E4CC52 #52E483 #526AE4 #E452B3
square
#E4CC52 #52E483 #526AE4 #E452B3
split-complementary
#E4CC52 #52B3E4 #8352E4
monochromatic
#A28C19 #D7B922 #E4CC52 #ECDC87 #F5EBBC

Accessibility & contrast

On white

1.61
#E4CC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#E4CC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CC52
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CC52#FFFFFF#000000##000000
##E4CC521.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4cc52;
/* rgb */ color: rgb(228, 204, 82);
/* oklch */ color: oklch(84.3% 0.142 98.1);
Tailwind
colors: {
  custom: {
    50: '#f0db88',
    500: '#e4cc52',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc52;
$custom-light: #f0db88;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc52",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 50.137,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84296,
    "c": 0.14195,
    "h": 98.1
  },
  "luminance": 0.60289
}

Semantic roles & 50–950 ramp

primary
#E4CC52
secondary
#3548A5
accent
#31D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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