#E5D95B#E5D95B

#E5D95B is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.1% C 0.146 H 103.9°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#E5D95B
RGBrgb(229, 217, 91)
HSLhsl(55, 73%, 63%)
HSVhsv(55, 60%, 90%)
CMYKcmyk(0%, 5.2%, 60.3%, 10.2%)
CIE-LABlab(85.52, -11.05, 61.87)
CIE-LCHlch(85.52, 62.85, 100.12°)
OKLaboklab(87.14% -0.035 0.1418)
OKLCHoklch(87.14% 0.146 103.9)
XYZxyz(59.0164, 67.0412, 19.7270)
Luminance0.6704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D95B #5B67E5
analogous
#E5945B #E5D95B #ACE55B
triadic
#E5D95B #5BE5D9 #D95BE5
tetradic
#E5D95B #5BE594 #5B67E5 #E55BAC
square
#E5D95B #5BE594 #5B67E5 #E55BAC
split-complementary
#E5D95B #5BACE5 #945BE5
monochromatic
#AB9E1B #DDCD26 #E5D95B #EDE590 #F6F1C5

Accessibility & contrast

On white

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

On black

14.41
#E5D95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D95B
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D95B#FFFFFF#000000##000000
##E5D95B1.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD24D
Deuteranopia (green-blind)
#EFD962
Tritanopia (blue-blind)
#F5CBBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e5d95b;
/* rgb */ color: rgb(229, 217, 91);
/* oklch */ color: oklch(87.1% 0.146 103.9);
Tailwind
colors: {
  custom: {
    50: '#f0e48e',
    500: '#e5d95b',
    950: '#000000',
  },
}
SCSS
$custom: #e5d95b;
$custom-light: #f0e48e;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d95b",
  "rgb": {
    "r": 229,
    "g": 217,
    "b": 91
  },
  "hsl": {
    "h": 54.783,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.87141,
    "c": 0.14604,
    "h": 103.9
  },
  "luminance": 0.67039
}

Semantic roles & 50–950 ramp

primary
#E5D95B
secondary
#3842AC
accent
#22D511
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5D95B

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

Preview Lab → · Contrast checker → · Palette generator →

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