#E1D545#E1D545

#E1D545 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.8% C 0.159 H 104.5°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#E1D545
RGBrgb(225, 213, 69)
HSLhsl(55, 72%, 58%)
HSVhsv(55, 69%, 88%)
CMYKcmyk(0%, 5.3%, 69.3%, 11.8%)
CIE-LABlab(83.98, -11.98, 68.99)
CIE-LCHlch(83.98, 70.02, 99.85°)
OKLaboklab(85.78% -0.0398 0.1536)
OKLCHoklch(85.78% 0.159 104.5)
XYZxyz(55.9220, 64.0279, 15.0420)
Luminance0.6403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1D545 #4551E1
analogous
#E18745 #E1D545 #9FE145
triadic
#E1D545 #45E1D5 #D545E1
tetradic
#E1D545 #45E187 #4551E1 #E1459F
square
#E1D545 #45E187 #4551E1 #E1459F
split-complementary
#E1D545 #459FE1 #8745E1
monochromatic
#948A18 #C8BC20 #E1D545 #E9E17A #F2EDAE

Accessibility & contrast

On white

1.52
#E1D545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#E1D545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1D545
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1D545#FFFFFF#000000##000000
##E1D5451.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE2E
Deuteranopia (green-blind)
#ECD44F
Tritanopia (blue-blind)
#F1C7B8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e1d545;
/* rgb */ color: rgb(225, 213, 69);
/* oklch */ color: oklch(85.8% 0.159 104.5);
Tailwind
colors: {
  custom: {
    50: '#eee181',
    500: '#e1d545',
    950: '#000000',
  },
}
SCSS
$custom: #e1d545;
$custom-light: #eee181;
$custom-dark: #000000;
JSON
{
  "hex": "#e1d545",
  "rgb": {
    "r": 225,
    "g": 213,
    "b": 69
  },
  "hsl": {
    "h": 55.385,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.85779,
    "c": 0.15866,
    "h": 104.5
  },
  "luminance": 0.64026
}

Semantic roles & 50–950 ramp

primary
#E1D545
secondary
#323A98
accent
#47EF39
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E1D545

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

Preview Lab → · Contrast checker → · Palette generator →

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