#E1C54F#E1C54F

#E1C54F is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.6% C 0.139 H 95.8°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#E1C54F
RGBrgb(225, 197, 79)
HSLhsl(48, 71%, 60%)
HSVhsv(48, 65%, 88%)
CMYKcmyk(0%, 12.4%, 64.9%, 11.8%)
CIE-LABlab(79.90, -3.30, 60.83)
CIE-LCHlch(79.90, 60.92, 93.11°)
OKLaboklab(82.57% -0.014 0.138)
OKLCHoklch(82.57% 0.139 95.8)
XYZxyz(52.4313, 56.5072, 15.5409)
Luminance0.5651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C54F #4F6BE1
analogous
#E17C4F #E1C54F #B4E14F
triadic
#E1C54F #4FE1C5 #C54FE1
tetradic
#E1C54F #4FE17C #4F6BE1 #E14FB4
square
#E1C54F #4FE17C #4F6BE1 #E14FB4
split-complementary
#E1C54F #4FB4E1 #7C4FE1
monochromatic
#9B821A #CFAE23 #E1C54F #EAD683 #F3E7B8

Accessibility & contrast

On white

1.71
#E1C54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#E1C54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1C54F
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1C54F#FFFFFF#000000##000000
##E1C54F1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C141
Deuteranopia (green-blind)
#DFCA55
Tritanopia (blue-blind)
#F2B7AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e1c54f;
/* rgb */ color: rgb(225, 197, 79);
/* oklch */ color: oklch(82.6% 0.139 95.8);
Tailwind
colors: {
  custom: {
    50: '#eed686',
    500: '#e1c54f',
    950: '#000000',
  },
}
SCSS
$custom: #e1c54f;
$custom-light: #eed686;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c54f",
  "rgb": {
    "r": 225,
    "g": 197,
    "b": 79
  },
  "hsl": {
    "h": 48.493,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82566,
    "c": 0.13867,
    "h": 95.8
  },
  "luminance": 0.56505
}

Semantic roles & 50–950 ramp

primary
#E1C54F
secondary
#354A9F
accent
#5DEE3A
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E1C54F

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

Preview Lab → · Contrast checker → · Palette generator →

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