#E1C24F#E1C24F

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

Color values

HEX#E1C24F
RGBrgb(225, 194, 79)
HSLhsl(47, 71%, 60%)
HSVhsv(47, 65%, 88%)
CMYKcmyk(0%, 13.8%, 64.9%, 11.8%)
CIE-LABlab(79.13, -1.75, 60.01)
CIE-LCHlch(79.13, 60.03, 91.67°)
OKLaboklab(81.96% -0.0096 0.1362)
OKLCHoklch(81.96% 0.137 94)
XYZxyz(51.7569, 55.1584, 15.3161)
Luminance0.5516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C24F #4F6EE1
analogous
#E1794F #E1C24F #B7E14F
triadic
#E1C24F #4FE1C2 #C24FE1
tetradic
#E1C24F #4FE179 #4F6EE1 #E14FB7
square
#E1C24F #4FE179 #4F6EE1 #E14FB7
split-complementary
#E1C24F #4FB7E1 #794FE1
monochromatic
#9B801A #CFAB23 #E1C24F #EAD483 #F3E6B8

Accessibility & contrast

On white

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

On black

12.03
#E1C24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1C24F
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1C24F#FFFFFF#000000##000000
##E1C24F1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF41
Deuteranopia (green-blind)
#DDC855
Tritanopia (blue-blind)
#F2B4AA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e1c24f;
/* rgb */ color: rgb(225, 194, 79);
/* oklch */ color: oklch(82.0% 0.137 94.0);
Tailwind
colors: {
  custom: {
    50: '#eed485',
    500: '#e1c24f',
    950: '#000000',
  },
}
SCSS
$custom: #e1c24f;
$custom-light: #eed485;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c24f",
  "rgb": {
    "r": 225,
    "g": 194,
    "b": 79
  },
  "hsl": {
    "h": 47.26,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81958,
    "c": 0.13656,
    "h": 94
  },
  "luminance": 0.55156
}

Semantic roles & 50–950 ramp

primary
#E1C24F
secondary
#354C9F
accent
#60EE3A
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E1C24F

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

Preview Lab → · Contrast checker → · Palette generator →

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