#E1C04F#E1C04F

#E1C04F is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.6% C 0.135 H 92.8°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#E1C04F
RGBrgb(225, 192, 79)
HSLhsl(46, 71%, 60%)
HSVhsv(46, 65%, 88%)
CMYKcmyk(0%, 14.7%, 64.9%, 11.8%)
CIE-LABlab(78.62, -0.72, 59.46)
CIE-LCHlch(78.62, 59.47, 90.69°)
OKLaboklab(81.55% -0.0066 0.1351)
OKLCHoklch(81.55% 0.135 92.8)
XYZxyz(51.3148, 54.2741, 15.1687)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C04F #4F70E1
analogous
#E1774F #E1C04F #B9E14F
triadic
#E1C04F #4FE1C0 #C04FE1
tetradic
#E1C04F #4FE177 #4F70E1 #E14FB9
square
#E1C04F #4FE177 #4F70E1 #E14FB9
split-complementary
#E1C04F #4FB9E1 #774FE1
monochromatic
#9B7E1A #CFA923 #E1C04F #EAD383 #F3E5B8

Accessibility & contrast

On white

1.77
#E1C04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#E1C04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1C04F
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1C04F#FFFFFF#000000##000000
##E1C04F1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD42
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#F2B2A8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e1c04f;
/* rgb */ color: rgb(225, 192, 79);
/* oklch */ color: oklch(81.6% 0.135 92.8);
Tailwind
colors: {
  custom: {
    50: '#eed285',
    500: '#e1c04f',
    950: '#000000',
  },
}
SCSS
$custom: #e1c04f;
$custom-light: #eed285;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c04f",
  "rgb": {
    "r": 225,
    "g": 192,
    "b": 79
  },
  "hsl": {
    "h": 46.438,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81554,
    "c": 0.13522,
    "h": 92.8
  },
  "luminance": 0.54271
}

Semantic roles & 50–950 ramp

primary
#E1C04F
secondary
#354D9F
accent
#63EE3A
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E1C04F

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

Preview Lab → · Contrast checker → · Palette generator →

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