#E2C24A#E2C24A

#E2C24A is a very light, vivid yellow. Relative luminance 0.552; OKLCH L 82.0% C 0.140 H 94.0°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#E2C24A
RGBrgb(226, 194, 74)
HSLhsl(47, 72%, 59%)
HSVhsv(47, 67%, 89%)
CMYKcmyk(0%, 14.2%, 67.3%, 11.4%)
CIE-LABlab(79.18, -1.62, 62.19)
CIE-LCHlch(79.18, 62.22, 91.49°)
OKLaboklab(82.01% -0.0098 0.14)
OKLCHoklch(82.01% 0.14 94)
XYZxyz(51.8944, 55.2495, 14.4081)
Luminance0.5525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C24A #4A6AE2
analogous
#E2764A #E2C24A #B6E24A
triadic
#E2C24A #4AE2C2 #C24AE2
tetradic
#E2C24A #4AE276 #4A6AE2 #E24AB6
square
#E2C24A #4AE276 #4A6AE2 #E24AB6
split-complementary
#E2C24A #4AB6E2 #764AE2
monochromatic
#997E19 #CEA921 #E2C24A #EAD47F #F3E6B3

Accessibility & contrast

On white

1.74
#E2C24A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#E2C24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C24A
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C24A#FFFFFF#000000##000000
##E2C24A1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3B
Deuteranopia (green-blind)
#DEC850
Tritanopia (blue-blind)
#F4B3A9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e2c24a;
/* rgb */ color: rgb(226, 194, 74);
/* oklch */ color: oklch(82.0% 0.140 94.0);
Tailwind
colors: {
  custom: {
    50: '#efd482',
    500: '#e2c24a',
    950: '#000000',
  },
}
SCSS
$custom: #e2c24a;
$custom-light: #efd482;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c24a",
  "rgb": {
    "r": 226,
    "g": 194,
    "b": 74
  },
  "hsl": {
    "h": 47.368,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82008,
    "c": 0.14037,
    "h": 94
  },
  "luminance": 0.55247
}

Semantic roles & 50–950 ramp

primary
#E2C24A
secondary
#334A9D
accent
#5FEF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C24A

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

Preview Lab → · Contrast checker → · Palette generator →

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