#E2C24C#E2C24C

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

Color values

HEX#E2C24C
RGBrgb(226, 194, 76)
HSLhsl(47, 72%, 59%)
HSVhsv(47, 66%, 89%)
CMYKcmyk(0%, 14.2%, 66.4%, 11.4%)
CIE-LABlab(79.20, -1.51, 61.38)
CIE-LCHlch(79.20, 61.40, 91.41°)
OKLaboklab(82.03% -0.0093 0.1386)
OKLCHoklch(82.03% 0.139 93.8)
XYZxyz(51.9629, 55.2769, 14.7686)
Luminance0.5527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C24C #4C6CE2
analogous
#E2774C #E2C24C #B7E24C
triadic
#E2C24C #4CE2C2 #C24CE2
tetradic
#E2C24C #4CE277 #4C6CE2 #E24CB7
square
#E2C24C #4CE277 #4C6CE2 #E24CB7
split-complementary
#E2C24C #4CB7E2 #774CE2
monochromatic
#9B7F19 #CFAA22 #E2C24C #EBD481 #F3E6B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2C24C#FFFFFF#000000##000000
##E2C24C1.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)
#D5BF3D
Deuteranopia (green-blind)
#DEC852
Tritanopia (blue-blind)
#F4B3A9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e2c24c;
/* rgb */ color: rgb(226, 194, 76);
/* oklch */ color: oklch(82.0% 0.139 93.8);
Tailwind
colors: {
  custom: {
    50: '#efd484',
    500: '#e2c24c',
    950: '#000000',
  },
}
SCSS
$custom: #e2c24c;
$custom-light: #efd484;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c24c",
  "rgb": {
    "r": 226,
    "g": 194,
    "b": 76
  },
  "hsl": {
    "h": 47.2,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82026,
    "c": 0.13894,
    "h": 93.8
  },
  "luminance": 0.55274
}

Semantic roles & 50–950 ramp

primary
#E2C24C
secondary
#344B9E
accent
#60EF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C24C

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

Preview Lab → · Contrast checker → · Palette generator →

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