#87954A#87954A

#87954A is a light, moderate yellow-green. Relative luminance 0.271; OKLCH L 64.2% C 0.101 H 118.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#87954A
RGBrgb(135, 149, 74)
HSLhsl(71, 34%, 44%)
HSVhsv(71, 50%, 58%)
CMYKcmyk(9.4%, 0%, 50.3%, 41.6%)
CIE-LABlab(59.10, -16.84, 37.61)
CIE-LCHlch(59.10, 41.21, 114.13°)
OKLaboklab(64.16% -0.0477 0.0894)
OKLCHoklch(64.16% 0.101 118.1)
XYZxyz(21.9754, 27.1404, 10.5582)
Luminance0.2714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87954A #584A95
analogous
#957D4A #87954A #61954A
triadic
#87954A #4A8795 #954A87
tetradic
#87954A #4A957D #584A95 #954A61
square
#87954A #4A957D #584A95 #954A61
split-complementary
#87954A #4A6195 #7D4A95
monochromatic
#3D4321 #626C36 #87954A #A6B468 #BEC891

Accessibility & contrast

On white

3.27
#87954A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#87954A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87954A
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87954A#FFFFFF#000000##000000
##87954A1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8E43
Deuteranopia (green-blind)
#9C8F4E
Tritanopia (blue-blind)
#8E8E84
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #87954a;
/* rgb */ color: rgb(135, 149, 74);
/* oklch */ color: oklch(64.2% 0.101 118.1);
Tailwind
colors: {
  custom: {
    50: '#abb47e',
    500: '#87954a',
    950: '#000000',
  },
}
SCSS
$custom: #87954a;
$custom-light: #abb47e;
$custom-dark: #000000;
JSON
{
  "hex": "#87954a",
  "rgb": {
    "r": 135,
    "g": 149,
    "b": 74
  },
  "hsl": {
    "h": 71.2,
    "s": 33.632,
    "l": 43.725
  },
  "oklch": {
    "l": 0.64159,
    "c": 0.10134,
    "h": 118.1
  },
  "luminance": 0.2714
}

Semantic roles & 50–950 ramp

primary
#87954A
secondary
#8F86B4
accent
#5ECA72
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10110A
muted
#7F807C

Preview Lab

Preview with #87954A

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

Preview Lab → · Contrast checker → · Palette generator →

#87954A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva