#E5D541#E5D541

#E5D541 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.1% C 0.161 H 103.0°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#E5D541
RGBrgb(229, 213, 65)
HSLhsl(54, 76%, 58%)
HSVhsv(54, 72%, 90%)
CMYKcmyk(0%, 7%, 71.6%, 10.2%)
CIE-LABlab(84.29, -10.49, 70.86)
CIE-LCHlch(84.29, 71.63, 98.42°)
OKLaboklab(86.1% -0.0362 0.1567)
OKLCHoklch(86.1% 0.161 103)
XYZxyz(57.0640, 64.6306, 14.4691)
Luminance0.6463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D541 #4151E5
analogous
#E58341 #E5D541 #A3E541
triadic
#E5D541 #41E5D5 #D541E5
tetradic
#E5D541 #41E583 #4151E5 #E541A3
square
#E5D541 #41E583 #4151E5 #E541A3
split-complementary
#E5D541 #41A3E5 #8341E5
monochromatic
#978A15 #CDBC1C #E5D541 #ECE177 #F4EDAD

Accessibility & contrast

On white

1.51
#E5D541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#E5D541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D541
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D541#FFFFFF#000000##000000
##E5D5411.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE27
Deuteranopia (green-blind)
#EDD64B
Tritanopia (blue-blind)
#F6C6B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e5d541;
/* rgb */ color: rgb(229, 213, 65);
/* oklch */ color: oklch(86.1% 0.161 103.0);
Tailwind
colors: {
  custom: {
    50: '#f1e17f',
    500: '#e5d541',
    950: '#000000',
  },
}
SCSS
$custom: #e5d541;
$custom-light: #f1e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d541",
  "rgb": {
    "r": 229,
    "g": 213,
    "b": 65
  },
  "hsl": {
    "h": 54.146,
    "s": 75.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.86101,
    "c": 0.16083,
    "h": 103
  },
  "luminance": 0.64628
}

Semantic roles & 50–950 ramp

primary
#E5D541
secondary
#2F3A9B
accent
#48F335
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E5D541

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

Preview Lab → · Contrast checker → · Palette generator →

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