#E2C352#E2C352

#E2C352 is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.3% C 0.135 H 93.8°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#E2C352
RGBrgb(226, 195, 82)
HSLhsl(47, 71%, 60%)
HSVhsv(47, 64%, 89%)
CMYKcmyk(0%, 13.7%, 63.7%, 11.4%)
CIE-LABlab(79.51, -1.67, 59.14)
CIE-LCHlch(79.51, 59.16, 91.61°)
OKLaboklab(82.28% -0.009 0.1348)
OKLCHoklch(82.28% 0.135 93.8)
XYZxyz(52.4046, 55.8109, 15.9933)
Luminance0.5581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C352 #5271E2
analogous
#E27B52 #E2C352 #B9E252
triadic
#E2C352 #52E2C3 #C352E2
tetradic
#E2C352 #52E27B #5271E2 #E252B9
square
#E2C352 #52E27B #5271E2 #E252B9
split-complementary
#E2C352 #52B9E2 #7B52E2
monochromatic
#9F821B #D3AD23 #E2C352 #EBD586 #F4E7BB

Accessibility & contrast

On white

1.73
#E2C352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#E2C352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C352
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C352#FFFFFF#000000##000000
##E2C3521.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C045
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#F3B5AB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e2c352;
/* rgb */ color: rgb(226, 195, 82);
/* oklch */ color: oklch(82.3% 0.135 93.8);
Tailwind
colors: {
  custom: {
    50: '#eed487',
    500: '#e2c352',
    950: '#000000',
  },
}
SCSS
$custom: #e2c352;
$custom-light: #eed487;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c352",
  "rgb": {
    "r": 226,
    "g": 195,
    "b": 82
  },
  "hsl": {
    "h": 47.083,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82283,
    "c": 0.1351,
    "h": 93.8
  },
  "luminance": 0.55808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2C352

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

Preview Lab → · Contrast checker → · Palette generator →

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