#E5D873#E5D873

#E5D873 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.2% C 0.124 H 102.0°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#E5D873
RGBrgb(229, 216, 115)
HSLhsl(53, 69%, 67%)
HSVhsv(53, 50%, 90%)
CMYKcmyk(0%, 5.7%, 49.8%, 10.2%)
CIE-LABlab(85.51, -8.70, 50.95)
CIE-LCHlch(85.51, 51.69, 99.69°)
OKLaboklab(87.21% -0.0257 0.1208)
OKLCHoklch(87.21% 0.124 102)
XYZxyz(59.9652, 67.0096, 25.9917)
Luminance0.6701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D873 #7380E5
analogous
#E59F73 #E5D873 #B9E573
triadic
#E5D873 #73E5D8 #D873E5
tetradic
#E5D873 #73E59F #7380E5 #E573B9
square
#E5D873 #73E59F #7380E5 #E573B9
split-complementary
#E5D873 #73B9E5 #9F73E5
monochromatic
#BBAA23 #DBCA3F #E5D873 #EFE6A7 #F8F5DA

Accessibility & contrast

On white

1.46
#E5D873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.40
#E5D873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D873
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D873#FFFFFF#000000##000000
##E5D8731.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D26A
Deuteranopia (green-blind)
#ECD878
Tritanopia (blue-blind)
#F3CCC1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e5d873;
/* rgb */ color: rgb(229, 216, 115);
/* oklch */ color: oklch(87.2% 0.124 102.0);
Tailwind
colors: {
  custom: {
    50: '#efe39d',
    500: '#e5d873',
    950: '#000000',
  },
}
SCSS
$custom: #e5d873;
$custom-light: #efe39d;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d873",
  "rgb": {
    "r": 229,
    "g": 216,
    "b": 115
  },
  "hsl": {
    "h": 53.158,
    "s": 68.675,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87207,
    "c": 0.12354,
    "h": 102
  },
  "luminance": 0.67008
}

Semantic roles & 50–950 ramp

primary
#E5D873
secondary
#414FBB
accent
#2AD115
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E5D873

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

Preview Lab → · Contrast checker → · Palette generator →

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