#E4C552#E4C552

#E4C552 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.9% C 0.137 H 94.1°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#E4C552
RGBrgb(228, 197, 82)
HSLhsl(47, 73%, 61%)
HSVhsv(47, 64%, 89%)
CMYKcmyk(0%, 13.6%, 64%, 10.6%)
CIE-LABlab(80.20, -1.86, 59.94)
CIE-LCHlch(80.20, 59.97, 91.78°)
OKLaboklab(82.88% -0.0097 0.1364)
OKLCHoklch(82.88% 0.137 94.1)
XYZxyz(53.4867, 57.0385, 16.1732)
Luminance0.5704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C552 #5271E4
analogous
#E47C52 #E4C552 #BAE452
triadic
#E4C552 #52E4C5 #C552E4
tetradic
#E4C552 #52E47C #5271E4 #E452BA
square
#E4C552 #52E47C #5271E4 #E452BA
split-complementary
#E4C552 #52BAE4 #7C52E4
monochromatic
#A28519 #D7B122 #E4C552 #ECD787 #F5E8BC

Accessibility & contrast

On white

1.69
#E4C552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#E4C552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C552
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C552#FFFFFF#000000##000000
##E4C5521.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C145
Deuteranopia (green-blind)
#E0CB58
Tritanopia (blue-blind)
#F5B7AD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e4c552;
/* rgb */ color: rgb(228, 197, 82);
/* oklch */ color: oklch(82.9% 0.137 94.1);
Tailwind
colors: {
  custom: {
    50: '#f0d687',
    500: '#e4c552',
    950: '#000000',
  },
}
SCSS
$custom: #e4c552;
$custom-light: #f0d687;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c552",
  "rgb": {
    "r": 228,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 47.26,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82875,
    "c": 0.1368,
    "h": 94.1
  },
  "luminance": 0.57036
}

Semantic roles & 50–950 ramp

primary
#E4C552
secondary
#354DA5
accent
#3AD510
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C552

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

Preview Lab → · Contrast checker → · Palette generator →

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