#E1C545#E1C545

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

Color values

HEX#E1C545
RGBrgb(225, 197, 69)
HSLhsl(49, 72%, 58%)
HSVhsv(49, 69%, 88%)
CMYKcmyk(0%, 12.4%, 69.3%, 11.8%)
CIE-LABlab(79.83, -3.85, 64.84)
CIE-LCHlch(79.83, 64.95, 93.40°)
OKLaboklab(82.48% -0.0167 0.1448)
OKLCHoklch(82.48% 0.146 96.6)
XYZxyz(52.0943, 56.3724, 13.7661)
Luminance0.5637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C545 #4561E1
analogous
#E17745 #E1C545 #AFE145
triadic
#E1C545 #45E1C5 #C545E1
tetradic
#E1C545 #45E177 #4561E1 #E145AF
square
#E1C545 #45E177 #4561E1 #E145AF
split-complementary
#E1C545 #45AFE1 #7745E1
monochromatic
#947E18 #C8AA20 #E1C545 #E9D57A #F2E6AE

Accessibility & contrast

On white

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

On black

12.27
#E1C545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1C545
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1C545#FFFFFF#000000##000000
##E1C5451.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C133
Deuteranopia (green-blind)
#E0CA4C
Tritanopia (blue-blind)
#F2B6AB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e1c545;
/* rgb */ color: rgb(225, 197, 69);
/* oklch */ color: oklch(82.5% 0.146 96.6);
Tailwind
colors: {
  custom: {
    50: '#eed680',
    500: '#e1c545',
    950: '#000000',
  },
}
SCSS
$custom: #e1c545;
$custom-light: #eed680;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c545",
  "rgb": {
    "r": 225,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 49.231,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82481,
    "c": 0.14577,
    "h": 96.6
  },
  "luminance": 0.5637
}

Semantic roles & 50–950 ramp

primary
#E1C545
secondary
#324498
accent
#5AEF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E1C545

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

Preview Lab → · Contrast checker → · Palette generator →

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