#87A55F#87A55F

#87A55F is a light, moderate yellow-green. Relative luminance 0.329; OKLCH L 68.2% C 0.102 H 127.8°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#87A55F
RGBrgb(135, 165, 95)
HSLhsl(86, 28%, 51%)
HSVhsv(86, 42%, 65%)
CMYKcmyk(18.2%, 0%, 42.4%, 35.3%)
CIE-LABlab(64.07, -22.59, 32.89)
CIE-LCHlch(64.07, 39.90, 124.49°)
OKLaboklab(68.24% -0.0622 0.0802)
OKLCHoklch(68.24% 0.102 127.8)
XYZxyz(25.5121, 32.8871, 15.8280)
Luminance0.3289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A55F #7D5FA5
analogous
#A5A05F #87A55F #64A55F
triadic
#87A55F #5F87A5 #A55F87
tetradic
#87A55F #5FA5A0 #7D5FA5 #A55F64
square
#87A55F #5FA5A0 #7D5FA5 #A55F64
split-complementary
#87A55F #5F64A5 #A05FA5
monochromatic
#485832 #677F48 #87A55F #A4BB86 #C2D1AD

Accessibility & contrast

On white

2.77
#87A55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#87A55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A55F
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A55F#FFFFFF#000000##000000
##87A55F1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9D5A
Deuteranopia (green-blind)
#A79B63
Tritanopia (blue-blind)
#8A9F94
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #87a55f;
/* rgb */ color: rgb(135, 165, 95);
/* oklch */ color: oklch(68.2% 0.102 127.8);
Tailwind
colors: {
  custom: {
    50: '#abbf8d',
    500: '#87a55f',
    950: '#000000',
  },
}
SCSS
$custom: #87a55f;
$custom-light: #abbf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#87a55f",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 95
  },
  "hsl": {
    "h": 85.714,
    "s": 28,
    "l": 50.98
  },
  "oklch": {
    "l": 0.68237,
    "c": 0.10156,
    "h": 127.8
  },
  "luminance": 0.32887
}

Semantic roles & 50–950 ramp

primary
#87A55F
secondary
#AEA0BF
accent
#63C48D
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#10120C
muted
#7F817D

Preview Lab

Preview with #87A55F

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

Preview Lab → · Contrast checker → · Palette generator →

#87A55F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva