#E5D95F#E5D95F

#E5D95F is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.2% C 0.143 H 103.7°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#E5D95F
RGBrgb(229, 217, 95)
HSLhsl(55, 72%, 64%)
HSVhsv(55, 59%, 90%)
CMYKcmyk(0%, 5.2%, 58.5%, 10.2%)
CIE-LABlab(85.56, -10.77, 60.18)
CIE-LCHlch(85.56, 61.13, 100.15°)
OKLaboklab(87.18% -0.0338 0.1387)
OKLCHoklch(87.18% 0.143 103.7)
XYZxyz(59.1936, 67.1121, 20.6601)
Luminance0.6711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D95F #5F6BE5
analogous
#E5965F #E5D95F #AEE55F
triadic
#E5D95F #5FE5D9 #D95FE5
tetradic
#E5D95F #5FE596 #5F6BE5 #E55FAE
square
#E5D95F #5FE596 #5F6BE5 #E55FAE
split-complementary
#E5D95F #5FAEE5 #965FE5
monochromatic
#ADA01C #DCCC2A #E5D95F #EEE694 #F6F2C8

Accessibility & contrast

On white

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

On black

14.42
#E5D95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D95F
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D95F#FFFFFF#000000##000000
##E5D95F1.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD252
Deuteranopia (green-blind)
#EED965
Tritanopia (blue-blind)
#F5CCBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e5d95f;
/* rgb */ color: rgb(229, 217, 95);
/* oklch */ color: oklch(87.2% 0.143 103.7);
Tailwind
colors: {
  custom: {
    50: '#f0e491',
    500: '#e5d95f',
    950: '#000000',
  },
}
SCSS
$custom: #e5d95f;
$custom-light: #f0e491;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d95f",
  "rgb": {
    "r": 229,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 54.627,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.87181,
    "c": 0.14274,
    "h": 103.7
  },
  "luminance": 0.6711
}

Semantic roles & 50–950 ramp

primary
#E5D95F
secondary
#3A44AF
accent
#23D411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5D95F

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

Preview Lab → · Contrast checker → · Palette generator →

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