#E2C652#E2C652

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

Color values

HEX#E2C652
RGBrgb(226, 198, 82)
HSLhsl(48, 71%, 60%)
HSVhsv(48, 64%, 89%)
CMYKcmyk(0%, 12.4%, 63.7%, 11.4%)
CIE-LABlab(80.27, -3.22, 59.97)
CIE-LCHlch(80.27, 60.06, 93.07°)
OKLaboklab(82.89% -0.0135 0.1366)
OKLCHoklch(82.89% 0.137 95.6)
XYZxyz(53.0835, 57.1687, 16.2196)
Luminance0.5717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C652 #526EE2
analogous
#E27E52 #E2C652 #B6E252
triadic
#E2C652 #52E2C6 #C652E2
tetradic
#E2C652 #52E27E #526EE2 #E252B6
square
#E2C652 #52E27E #526EE2 #E252B6
split-complementary
#E2C652 #52B6E2 #7E52E2
monochromatic
#9F851B #D3B123 #E2C652 #EBD786 #F4E9BB

Accessibility & contrast

On white

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

On black

12.43
#E2C652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C652
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C652#FFFFFF#000000##000000
##E2C6521.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2c652;
/* rgb */ color: rgb(226, 198, 82);
/* oklch */ color: oklch(82.9% 0.137 95.6);
Tailwind
colors: {
  custom: {
    50: '#eed787',
    500: '#e2c652',
    950: '#000000',
  },
}
SCSS
$custom: #e2c652;
$custom-light: #eed787;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c652",
  "rgb": {
    "r": 226,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 48.333,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8289,
    "c": 0.13722,
    "h": 95.6
  },
  "luminance": 0.57166
}

Semantic roles & 50–950 ramp

primary
#E2C652
secondary
#364BA2
accent
#38D312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C652

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

Preview Lab → · Contrast checker → · Palette generator →

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