#E0C552#E0C552

#E0C552 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.5% C 0.136 H 96.0°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#E0C552
RGBrgb(224, 197, 82)
HSLhsl(49, 70%, 60%)
HSVhsv(49, 63%, 88%)
CMYKcmyk(0%, 12.1%, 63.4%, 12.2%)
CIE-LABlab(79.84, -3.54, 59.44)
CIE-LCHlch(79.84, 59.55, 93.41°)
OKLaboklab(82.5% -0.0143 0.1355)
OKLCHoklch(82.5% 0.136 96)
XYZxyz(52.2321, 56.3915, 16.1144)
Luminance0.5639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0C552 #526DE0
analogous
#E07E52 #E0C552 #B4E052
triadic
#E0C552 #52E0C5 #C552E0
tetradic
#E0C552 #52E07E #526DE0 #E052B4
square
#E0C552 #52E07E #526DE0 #E052B4
split-complementary
#E0C552 #52B4E0 #7E52E0
monochromatic
#9C831C #D0AF25 #E0C552 #E9D686 #F3E8BA

Accessibility & contrast

On white

1.71
#E0C552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#E0C552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0C552
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0C552#FFFFFF#000000##000000
##E0C5521.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C145
Deuteranopia (green-blind)
#DFCA58
Tritanopia (blue-blind)
#F1B7AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e0c552;
/* rgb */ color: rgb(224, 197, 82);
/* oklch */ color: oklch(82.5% 0.136 96.0);
Tailwind
colors: {
  custom: {
    50: '#edd687',
    500: '#e0c552',
    950: '#000000',
  },
}
SCSS
$custom: #e0c552;
$custom-light: #edd687;
$custom-dark: #000000;
JSON
{
  "hex": "#e0c552",
  "rgb": {
    "r": 224,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 48.592,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.82501,
    "c": 0.13625,
    "h": 96
  },
  "luminance": 0.56389
}

Semantic roles & 50–950 ramp

primary
#E0C552
secondary
#374B9F
accent
#5DEC3B
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0C552

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

Preview Lab → · Contrast checker → · Palette generator →

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