#E5D85F#E5D85F

#E5D85F is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.0% C 0.142 H 103.2°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#E5D85F
RGBrgb(229, 216, 95)
HSLhsl(54, 72%, 64%)
HSVhsv(54, 59%, 90%)
CMYKcmyk(0%, 5.7%, 58.5%, 10.2%)
CIE-LABlab(85.30, -10.27, 59.89)
CIE-LCHlch(85.30, 60.76, 99.73°)
OKLaboklab(86.98% -0.0324 0.1381)
OKLCHoklch(86.98% 0.142 103.2)
XYZxyz(58.9366, 66.5981, 20.5745)
Luminance0.6660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D85F #5F6CE5
analogous
#E5955F #E5D85F #AFE55F
triadic
#E5D85F #5FE5D8 #D85FE5
tetradic
#E5D85F #5FE595 #5F6CE5 #E55FAF
square
#E5D85F #5FE595 #5F6CE5 #E55FAF
split-complementary
#E5D85F #5FAFE5 #955FE5
monochromatic
#AD9F1C #DCCB2A #E5D85F #EEE594 #F6F2C8

Accessibility & contrast

On white

1.47
#E5D85F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.32
#E5D85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D85F
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D85F#FFFFFF#000000##000000
##E5D85F1.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D152
Deuteranopia (green-blind)
#EED865
Tritanopia (blue-blind)
#F5CBBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e5d85f;
/* rgb */ color: rgb(229, 216, 95);
/* oklch */ color: oklch(87.0% 0.142 103.2);
Tailwind
colors: {
  custom: {
    50: '#f0e391',
    500: '#e5d85f',
    950: '#000000',
  },
}
SCSS
$custom: #e5d85f;
$custom-light: #f0e391;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d85f",
  "rgb": {
    "r": 229,
    "g": 216,
    "b": 95
  },
  "hsl": {
    "h": 54.179,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86975,
    "c": 0.14182,
    "h": 103.2
  },
  "luminance": 0.66596
}

Semantic roles & 50–950 ramp

primary
#E5D85F
secondary
#3A45AF
accent
#24D411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5D85F

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

Preview Lab → · Contrast checker → · Palette generator →

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