#87A55C#87A55C

#87A55C is a light, moderate yellow-green. Relative luminance 0.328; OKLCH L 68.2% C 0.105 H 127.2°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#87A55C
RGBrgb(135, 165, 92)
HSLhsl(85, 29%, 50%)
HSVhsv(85, 44%, 65%)
CMYKcmyk(18.2%, 0%, 44.2%, 35.3%)
CIE-LABlab(64.03, -22.97, 34.40)
CIE-LCHlch(64.03, 41.36, 123.74°)
OKLaboklab(68.19% -0.0635 0.0835)
OKLCHoklch(68.19% 0.105 127.2)
XYZxyz(25.3784, 32.8336, 15.1236)
Luminance0.3283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A55C #7A5CA5
analogous
#A59F5C #87A55C #62A55C
triadic
#87A55C #5C87A5 #A55C87
tetradic
#87A55C #5CA59F #7A5CA5 #A55C62
square
#87A55C #5CA59F #7A5CA5 #A55C62
split-complementary
#87A55C #5C62A5 #9F5CA5
monochromatic
#475730 #677E46 #87A55C #A4BB83 #C1D1AB

Accessibility & contrast

On white

2.78
#87A55C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#87A55C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A55C
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A55C#FFFFFF#000000##000000
##87A55C1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C56
Deuteranopia (green-blind)
#A79B60
Tritanopia (blue-blind)
#8B9F93
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #87a55c;
/* rgb */ color: rgb(135, 165, 92);
/* oklch */ color: oklch(68.2% 0.105 127.2);
Tailwind
colors: {
  custom: {
    50: '#abbf8b',
    500: '#87a55c',
    950: '#000000',
  },
}
SCSS
$custom: #87a55c;
$custom-light: #abbf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#87a55c",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 92
  },
  "hsl": {
    "h": 84.658,
    "s": 28.854,
    "l": 50.392
  },
  "oklch": {
    "l": 0.68188,
    "c": 0.1049,
    "h": 127.2
  },
  "luminance": 0.32834
}

Semantic roles & 50–950 ramp

primary
#87A55C
secondary
#AC9EBF
accent
#63C58B
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#10120C
muted
#7F817D

Preview Lab

Preview with #87A55C

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

Preview Lab → · Contrast checker → · Palette generator →

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