#E2C232#E2C232

#E2C232 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.8% C 0.155 H 95.7°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#E2C232
RGBrgb(226, 194, 50)
HSLhsl(49, 75%, 54%)
HSVhsv(49, 78%, 89%)
CMYKcmyk(0%, 14.2%, 77.9%, 11.4%)
CIE-LABlab(79.03, -2.70, 70.90)
CIE-LCHlch(79.03, 70.95, 92.18°)
OKLaboklab(81.84% -0.0154 0.1541)
OKLCHoklch(81.84% 0.155 95.7)
XYZxyz(51.2343, 54.9855, 10.9316)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C232 #3252E2
analogous
#E26A32 #E2C232 #AAE232
triadic
#E2C232 #32E2C2 #C232E2
tetradic
#E2C232 #32E26A #3252E2 #E232AA
square
#E2C232 #32E26A #3252E2 #E232AA
split-complementary
#E2C232 #32AAE2 #6A32E2
monochromatic
#877213 #BC9F1B #E2C232 #EAD268 #F1E29D

Accessibility & contrast

On white

1.75
#E2C232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#E2C232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C232
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C232#FFFFFF#000000##000000
##E2C2321.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE0F
Deuteranopia (green-blind)
#DFC83C
Tritanopia (blue-blind)
#F4B2A7
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e2c232;
/* rgb */ color: rgb(226, 194, 50);
/* oklch */ color: oklch(81.8% 0.155 95.7);
Tailwind
colors: {
  custom: {
    50: '#f0d476',
    500: '#e2c232',
    950: '#000000',
  },
}
SCSS
$custom: #e2c232;
$custom-light: #f0d476;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c232",
  "rgb": {
    "r": 226,
    "g": 194,
    "b": 50
  },
  "hsl": {
    "h": 49.091,
    "s": 75.214,
    "l": 54.118
  },
  "oklch": {
    "l": 0.8184,
    "c": 0.15485,
    "h": 95.7
  },
  "luminance": 0.54983
}

Semantic roles & 50–950 ramp

primary
#E2C232
secondary
#2C3D8D
accent
#58F236
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#171409
muted
#85837D

Preview Lab

Preview with #E2C232

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

Preview Lab → · Contrast checker → · Palette generator →

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