#E7D985#E7D985

#E7D985 is a very light, moderate yellow. Relative luminance 0.683; OKLCH L 87.8% C 0.106 H 100.0°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#E7D985
RGBrgb(231, 217, 133)
HSLhsl(51, 67%, 71%)
HSVhsv(51, 42%, 91%)
CMYKcmyk(0%, 6.1%, 42.4%, 9.4%)
CIE-LABlab(86.16, -6.71, 43.02)
CIE-LCHlch(86.16, 43.54, 98.87°)
OKLaboklab(87.84% -0.0184 0.1044)
OKLCHoklch(87.84% 0.106 100)
XYZxyz(62.0029, 68.3100, 32.1048)
Luminance0.6831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D985 #8593E7
analogous
#E7A885 #E7D985 #C4E785
triadic
#E7D985 #85E7D9 #D985E7
tetradic
#E7D985 #85E7A8 #8593E7 #E785C4
square
#E7D985 #85E7A8 #8593E7 #E785C4
split-complementary
#E7D985 #85C4E7 #A885E7
monochromatic
#CAB328 #DDC952 #E7D985 #F1E9B8 #FAF7E5

Accessibility & contrast

On white

1.43
#E7D985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#E7D985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D985
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D985#FFFFFF#000000##000000
##E7D9851.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D47E
Deuteranopia (green-blind)
#ECDA88
Tritanopia (blue-blind)
#F4CEC4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e7d985;
/* rgb */ color: rgb(231, 217, 133);
/* oklch */ color: oklch(87.8% 0.106 100.0);
Tailwind
colors: {
  custom: {
    50: '#f0e4aa',
    500: '#e7d985',
    950: '#000000',
  },
}
SCSS
$custom: #e7d985;
$custom-light: #f0e4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d985",
  "rgb": {
    "r": 231,
    "g": 217,
    "b": 133
  },
  "hsl": {
    "h": 51.429,
    "s": 67.123,
    "l": 71.373
  },
  "oklch": {
    "l": 0.87838,
    "c": 0.10602,
    "h": 100
  },
  "luminance": 0.68308
}

Semantic roles & 50–950 ramp

primary
#E7D985
secondary
#5060C0
accent
#31CF16
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E7D985

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

Preview Lab → · Contrast checker → · Palette generator →

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