#E4C24C#E4C24C

#E4C24C is a very light, vivid yellow. Relative luminance 0.556; OKLCH L 82.2% C 0.139 H 92.9°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#E4C24C
RGBrgb(228, 194, 76)
HSLhsl(47, 74%, 60%)
HSVhsv(47, 67%, 89%)
CMYKcmyk(0%, 14.9%, 66.7%, 10.6%)
CIE-LABlab(79.39, -0.66, 61.63)
CIE-LCHlch(79.39, 61.64, 90.61°)
OKLaboklab(82.22% -0.007 0.1391)
OKLCHoklch(82.22% 0.139 92.9)
XYZxyz(52.5938, 55.6023, 14.7982)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C24C #4C6EE4
analogous
#E4764C #E4C24C #BAE44C
triadic
#E4C24C #4CE4C2 #C24CE4
tetradic
#E4C24C #4CE476 #4C6EE4 #E44CBA
square
#E4C24C #4CE476 #4C6EE4 #E44CBA
split-complementary
#E4C24C #4CBAE4 #764CE4
monochromatic
#9E8018 #D3AB20 #E4C24C #ECD481 #F4E6B6

Accessibility & contrast

On white

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

On black

12.12
#E4C24C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C24C
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C24C#FFFFFF#000000##000000
##E4C24C1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3D
Deuteranopia (green-blind)
#DEC952
Tritanopia (blue-blind)
#F6B3A9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e4c24c;
/* rgb */ color: rgb(228, 194, 76);
/* oklch */ color: oklch(82.2% 0.139 92.9);
Tailwind
colors: {
  custom: {
    50: '#f0d484',
    500: '#e4c24c',
    950: '#000000',
  },
}
SCSS
$custom: #e4c24c;
$custom-light: #f0d484;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c24c",
  "rgb": {
    "r": 228,
    "g": 194,
    "b": 76
  },
  "hsl": {
    "h": 46.579,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82216,
    "c": 0.13927,
    "h": 92.9
  },
  "luminance": 0.55599
}

Semantic roles & 50–950 ramp

primary
#E4C24C
secondary
#334CA1
accent
#61F037
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C24C

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

Preview Lab → · Contrast checker → · Palette generator →

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