#E2C552#E2C552

#E2C552 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.7% C 0.137 H 95.0°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#E2C552
RGBrgb(226, 197, 82)
HSLhsl(48, 71%, 60%)
HSVhsv(48, 64%, 89%)
CMYKcmyk(0%, 12.8%, 63.7%, 11.4%)
CIE-LABlab(80.02, -2.70, 59.69)
CIE-LCHlch(80.02, 59.75, 92.59°)
OKLaboklab(82.69% -0.012 0.136)
OKLCHoklch(82.69% 0.137 95)
XYZxyz(52.8557, 56.7131, 16.1437)
Luminance0.5671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C552 #526FE2
analogous
#E27D52 #E2C552 #B7E252
triadic
#E2C552 #52E2C5 #C552E2
tetradic
#E2C552 #52E27D #526FE2 #E252B7
square
#E2C552 #52E27D #526FE2 #E252B7
split-complementary
#E2C552 #52B7E2 #7D52E2
monochromatic
#9F841B #D3B023 #E2C552 #EBD786 #F4E8BB

Accessibility & contrast

On white

1.70
#E2C552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#E2C552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C552
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C552#FFFFFF#000000##000000
##E2C5521.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2c552;
/* rgb */ color: rgb(226, 197, 82);
/* oklch */ color: oklch(82.7% 0.137 95.0);
Tailwind
colors: {
  custom: {
    50: '#eed687',
    500: '#e2c552',
    950: '#000000',
  },
}
SCSS
$custom: #e2c552;
$custom-light: #eed687;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c552",
  "rgb": {
    "r": 226,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 47.917,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82688,
    "c": 0.1365,
    "h": 95
  },
  "luminance": 0.5671
}

Semantic roles & 50–950 ramp

primary
#E2C552
secondary
#364CA2
accent
#39D312
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C552

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

Preview Lab → · Contrast checker → · Palette generator →

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