#87974B#87974B

#87974B is a light, moderate yellow-green. Relative luminance 0.278; OKLCH L 64.6% C 0.103 H 119.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#87974B
RGBrgb(135, 151, 75)
HSLhsl(73, 34%, 44%)
HSVhsv(73, 50%, 59%)
CMYKcmyk(10.6%, 0%, 50.3%, 40.8%)
CIE-LABlab(59.70, -17.78, 37.81)
CIE-LCHlch(59.70, 41.79, 115.18°)
OKLaboklab(64.64% -0.0503 0.09)
OKLCHoklch(64.64% 0.103 119.2)
XYZxyz(22.3285, 27.7922, 10.8434)
Luminance0.2779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87974B #5B4B97
analogous
#97814B #87974B #61974B
triadic
#87974B #4B8797 #974B87
tetradic
#87974B #4B9781 #5B4B97 #974B61
square
#87974B #4B9781 #5B4B97 #974B61
split-complementary
#87974B #4B6197 #814B97
monochromatic
#3E4522 #626E37 #87974B #A5B56A #BEC993

Accessibility & contrast

On white

3.20
#87974B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#87974B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87974B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87974B#FFFFFF#000000##000000
##87974B1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9044
Deuteranopia (green-blind)
#9D904F
Tritanopia (blue-blind)
#8D9086
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #87974b;
/* rgb */ color: rgb(135, 151, 75);
/* oklch */ color: oklch(64.6% 0.103 119.2);
Tailwind
colors: {
  custom: {
    50: '#abb57f',
    500: '#87974b',
    950: '#000000',
  },
}
SCSS
$custom: #87974b;
$custom-light: #abb57f;
$custom-dark: #000000;
JSON
{
  "hex": "#87974b",
  "rgb": {
    "r": 135,
    "g": 151,
    "b": 75
  },
  "hsl": {
    "h": 72.632,
    "s": 33.628,
    "l": 44.314
  },
  "oklch": {
    "l": 0.64641,
    "c": 0.10303,
    "h": 119.2
  },
  "luminance": 0.27792
}

Semantic roles & 50–950 ramp

primary
#87974B
secondary
#9288B6
accent
#5ECA75
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10110A
muted
#7F807C

Preview Lab

Preview with #87974B

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

Preview Lab → · Contrast checker → · Palette generator →

#87974B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva