#E2C452#E2C452

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

Color values

HEX#E2C452
RGBrgb(226, 196, 82)
HSLhsl(48, 71%, 60%)
HSVhsv(48, 64%, 89%)
CMYKcmyk(0%, 13.3%, 63.7%, 11.4%)
CIE-LABlab(79.76, -2.18, 59.42)
CIE-LCHlch(79.76, 59.46, 92.11°)
OKLaboklab(82.49% -0.0105 0.1354)
OKLCHoklch(82.49% 0.136 94.4)
XYZxyz(52.6294, 56.2605, 16.0682)
Luminance0.5626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C452 #5270E2
analogous
#E27C52 #E2C452 #B8E252
triadic
#E2C452 #52E2C4 #C452E2
tetradic
#E2C452 #52E27C #5270E2 #E252B8
square
#E2C452 #52E27C #5270E2 #E252B8
split-complementary
#E2C452 #52B8E2 #7C52E2
monochromatic
#9F831B #D3AF23 #E2C452 #EBD686 #F4E8BB

Accessibility & contrast

On white

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

On black

12.25
#E2C452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C452
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C452#FFFFFF#000000##000000
##E2C4521.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2c452;
/* rgb */ color: rgb(226, 196, 82);
/* oklch */ color: oklch(82.5% 0.136 94.4);
Tailwind
colors: {
  custom: {
    50: '#eed587',
    500: '#e2c452',
    950: '#000000',
  },
}
SCSS
$custom: #e2c452;
$custom-light: #eed587;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c452",
  "rgb": {
    "r": 226,
    "g": 196,
    "b": 82
  },
  "hsl": {
    "h": 47.5,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82485,
    "c": 0.1358,
    "h": 94.4
  },
  "luminance": 0.56258
}

Semantic roles & 50–950 ramp

primary
#E2C452
secondary
#364DA2
accent
#3AD312
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C452

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

Preview Lab → · Contrast checker → · Palette generator →

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