#87996F#87996F

#87996F is a light, moderate yellow-green. Relative luminance 0.291; OKLCH L 65.7% C 0.063 H 126.9°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#87996F
RGBrgb(135, 153, 111)
HSLhsl(86, 17%, 52%)
HSVhsv(86, 27%, 60%)
CMYKcmyk(11.8%, 0%, 27.5%, 40%)
CIE-LABlab(60.85, -14.13, 20.02)
CIE-LCHlch(60.85, 24.50, 125.22°)
OKLaboklab(65.75% -0.038 0.0506)
OKLCHoklch(65.75% 0.063 126.9)
XYZxyz(24.2518, 29.0809, 19.3714)
Luminance0.2908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87996F #816F99
analogous
#99966F #87996F #72996F
triadic
#87996F #6F8799 #996F87
tetradic
#87996F #6F9996 #816F99 #996F72
square
#87996F #6F9996 #816F99 #996F72
split-complementary
#87996F #6F7299 #966F99
monochromatic
#49533B #687754 #87996F #A5B293 #C3CCB7

Accessibility & contrast

On white

3.08
#87996F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#87996F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87996F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87996F#FFFFFF#000000##000000
##87996F1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E946C
Deuteranopia (green-blind)
#9B9371
Tritanopia (blue-blind)
#89958E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #87996f;
/* rgb */ color: rgb(135, 153, 111);
/* oklch */ color: oklch(65.7% 0.063 126.9);
Tailwind
colors: {
  custom: {
    50: '#aab798',
    500: '#87996f',
    950: '#000000',
  },
}
SCSS
$custom: #87996f;
$custom-light: #aab798;
$custom-dark: #000000;
JSON
{
  "hex": "#87996f",
  "rgb": {
    "r": 135,
    "g": 153,
    "b": 111
  },
  "hsl": {
    "h": 85.714,
    "s": 17.073,
    "l": 51.765
  },
  "oklch": {
    "l": 0.65749,
    "c": 0.06324,
    "h": 126.9
  },
  "luminance": 0.29081
}

Semantic roles & 50–950 ramp

primary
#87996F
secondary
#B1A9BB
accent
#6EBA8E
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10110D
muted
#7F807E

Preview Lab

Preview with #87996F

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

Preview Lab → · Contrast checker → · Palette generator →

#87996F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva