#E5D985#E5D985

#E5D985 is a very light, moderate yellow. Relative luminance 0.680; OKLCH L 87.7% C 0.106 H 101.2°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#E5D985
RGBrgb(229, 217, 133)
HSLhsl(53, 65%, 71%)
HSVhsv(53, 42%, 90%)
CMYKcmyk(0%, 5.2%, 41.9%, 10.2%)
CIE-LABlab(86.00, -7.50, 42.78)
CIE-LCHlch(86.00, 43.43, 99.95°)
OKLaboklab(87.67% -0.0206 0.1039)
OKLCHoklch(87.67% 0.106 101.2)
XYZxyz(61.3609, 67.9790, 32.0747)
Luminance0.6798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D985 #8591E5
analogous
#E5A985 #E5D985 #C1E585
triadic
#E5D985 #85E5D9 #D985E5
tetradic
#E5D985 #85E5A9 #8591E5 #E585C1
square
#E5D985 #85E5A9 #8591E5 #E585C1
split-complementary
#E5D985 #85C1E5 #A985E5
monochromatic
#C6B22A #DAC953 #E5D985 #F0E9B7 #FAF7E6

Accessibility & contrast

On white

1.44
#E5D985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#E5D985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D985
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D985#FFFFFF#000000##000000
##E5D9851.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D47E
Deuteranopia (green-blind)
#EBD988
Tritanopia (blue-blind)
#F2CEC4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e5d985;
/* rgb */ color: rgb(229, 217, 133);
/* oklch */ color: oklch(87.7% 0.106 101.2);
Tailwind
colors: {
  custom: {
    50: '#efe4aa',
    500: '#e5d985',
    950: '#000000',
  },
}
SCSS
$custom: #e5d985;
$custom-light: #efe4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d985",
  "rgb": {
    "r": 229,
    "g": 217,
    "b": 133
  },
  "hsl": {
    "h": 52.5,
    "s": 64.865,
    "l": 70.98
  },
  "oklch": {
    "l": 0.87668,
    "c": 0.1059,
    "h": 101.2
  },
  "luminance": 0.67977
}

Semantic roles & 50–950 ramp

primary
#E5D985
secondary
#515EBE
accent
#2FCD19
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E5D985

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

Preview Lab → · Contrast checker → · Palette generator →

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