#87A162#87A162

#87A162 is a light, moderate yellow-green. Relative luminance 0.315; OKLCH L 67.3% C 0.092 H 127.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#87A162
RGBrgb(135, 161, 98)
HSLhsl(85, 25%, 51%)
HSVhsv(85, 39%, 63%)
CMYKcmyk(16.1%, 0%, 39.1%, 36.9%)
CIE-LABlab(62.95, -20.18, 29.87)
CIE-LCHlch(62.95, 36.04, 124.04°)
OKLaboklab(67.35% -0.0553 0.0735)
OKLCHoklch(67.35% 0.092 127)
XYZxyz(24.9409, 31.5222, 16.3233)
Luminance0.3152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A162 #7C62A1
analogous
#A19B62 #87A162 #67A162
triadic
#87A162 #6287A1 #A16287
tetradic
#87A162 #62A19B #7C62A1 #A16267
square
#87A162 #62A19B #7C62A1 #A16267
split-complementary
#87A162 #6267A1 #9B62A1
monochromatic
#475533 #677C4A #87A162 #A4B888 #C2CFAF

Accessibility & contrast

On white

2.87
#87A162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#87A162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A162
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A162#FFFFFF#000000##000000
##87A1621.002.877.307.30
#FFFFFF2.871.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7995D
Deuteranopia (green-blind)
#A39865
Tritanopia (blue-blind)
#8A9C91
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #87a162;
/* rgb */ color: rgb(135, 161, 98);
/* oklch */ color: oklch(67.3% 0.092 127.0);
Tailwind
colors: {
  custom: {
    50: '#abbd8f',
    500: '#87a162',
    950: '#000000',
  },
}
SCSS
$custom: #87a162;
$custom-light: #abbd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#87a162",
  "rgb": {
    "r": 135,
    "g": 161,
    "b": 98
  },
  "hsl": {
    "h": 84.762,
    "s": 25.1,
    "l": 50.784
  },
  "oklch": {
    "l": 0.67349,
    "c": 0.09195,
    "h": 127
  },
  "luminance": 0.31522
}

Semantic roles & 50–950 ramp

primary
#87A162
secondary
#ADA1BD
accent
#66C28C
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#10120C
muted
#7F817D

Preview Lab

Preview with #87A162

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

Preview Lab → · Contrast checker → · Palette generator →

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