#E1C54A#E1C54A

#E1C54A is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.5% C 0.142 H 96.2°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#E1C54A
RGBrgb(225, 197, 74)
HSLhsl(49, 72%, 59%)
HSVhsv(49, 67%, 88%)
CMYKcmyk(0%, 12.4%, 67.1%, 11.8%)
CIE-LABlab(79.86, -3.59, 62.87)
CIE-LCHlch(79.86, 62.97, 93.27°)
OKLaboklab(82.52% -0.0154 0.1415)
OKLCHoklch(82.52% 0.142 96.2)
XYZxyz(52.2561, 56.4371, 14.6182)
Luminance0.5643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C54A #4A66E1
analogous
#E1794A #E1C54A #B1E14A
triadic
#E1C54A #4AE1C5 #C54AE1
tetradic
#E1C54A #4AE179 #4A66E1 #E14AB1
square
#E1C54A #4AE179 #4A66E1 #E14AB1
split-complementary
#E1C54A #4AB1E1 #794AE1
monochromatic
#978019 #CCAC22 #E1C54A #EAD67E #F2E7B3

Accessibility & contrast

On white

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

On black

12.29
#E1C54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1C54A
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1C54A#FFFFFF#000000##000000
##E1C54A1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e1c54a;
/* rgb */ color: rgb(225, 197, 74);
/* oklch */ color: oklch(82.5% 0.142 96.2);
Tailwind
colors: {
  custom: {
    50: '#eed683',
    500: '#e1c54a',
    950: '#000000',
  },
}
SCSS
$custom: #e1c54a;
$custom-light: #eed683;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c54a",
  "rgb": {
    "r": 225,
    "g": 197,
    "b": 74
  },
  "hsl": {
    "h": 48.874,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82522,
    "c": 0.14233,
    "h": 96.2
  },
  "luminance": 0.56434
}

Semantic roles & 50–950 ramp

primary
#E1C54A
secondary
#34479B
accent
#5BEE39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E1C54A

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

Preview Lab → · Contrast checker → · Palette generator →

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