#E4C24F#E4C24F

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

Color values

HEX#E4C24F
RGBrgb(228, 194, 79)
HSLhsl(46, 73%, 60%)
HSVhsv(46, 65%, 89%)
CMYKcmyk(0%, 14.9%, 65.4%, 10.6%)
CIE-LABlab(79.41, -0.49, 60.39)
CIE-LCHlch(79.41, 60.39, 90.46°)
OKLaboklab(82.24% -0.0061 0.1369)
OKLCHoklch(82.24% 0.137 92.6)
XYZxyz(52.7006, 55.6449, 15.3603)
Luminance0.5564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C24F #4F71E4
analogous
#E4784F #E4C24F #BBE44F
triadic
#E4C24F #4FE4C2 #C24FE4
tetradic
#E4C24F #4FE478 #4F71E4 #E44FBB
square
#E4C24F #4FE478 #4F71E4 #E44FBB
split-complementary
#E4C24F #4FBBE4 #784FE4
monochromatic
#A08119 #D5AC21 #E4C24F #ECD484 #F4E7B9

Accessibility & contrast

On white

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

On black

12.13
#E4C24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C24F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C24F#FFFFFF#000000##000000
##E4C24F1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF41
Deuteranopia (green-blind)
#DEC955
Tritanopia (blue-blind)
#F6B3AA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e4c24f;
/* rgb */ color: rgb(228, 194, 79);
/* oklch */ color: oklch(82.2% 0.137 92.6);
Tailwind
colors: {
  custom: {
    50: '#f0d485',
    500: '#e4c24f',
    950: '#000000',
  },
}
SCSS
$custom: #e4c24f;
$custom-light: #f0d485;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c24f",
  "rgb": {
    "r": 228,
    "g": 194,
    "b": 79
  },
  "hsl": {
    "h": 46.309,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82243,
    "c": 0.13708,
    "h": 92.6
  },
  "luminance": 0.55642
}

Semantic roles & 50–950 ramp

primary
#E4C24F
secondary
#344EA3
accent
#3DD610
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C24F

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

Preview Lab → · Contrast checker → · Palette generator →

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