#87B162#87B162

#87B162 is a light, moderate yellow-green. Relative luminance 0.375; OKLCH L 71.1% C 0.117 H 131.7°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#87B162
RGBrgb(135, 177, 98)
HSLhsl(92, 34%, 54%)
HSVhsv(92, 45%, 69%)
CMYKcmyk(23.7%, 0%, 44.6%, 30.6%)
CIE-LABlab(67.63, -28.12, 35.84)
CIE-LCHlch(67.63, 45.55, 128.12°)
OKLaboklab(71.12% -0.0775 0.0871)
OKLCHoklch(71.12% 0.117 131.7)
XYZxyz(27.9180, 37.4764, 17.3157)
Luminance0.3748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B162 #8C62B1
analogous
#AFB162 #87B162 #62B165
triadic
#87B162 #6287B1 #B16287
tetradic
#87B162 #62AFB1 #8C62B1 #B16562
square
#87B162 #62AFB1 #8C62B1 #B16562
split-complementary
#87B162 #6562B1 #B162AF
monochromatic
#4B6633 #698F47 #87B162 #A6C58B #C6DAB4

Accessibility & contrast

On white

2.47
#87B162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#87B162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B162
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B162#FFFFFF#000000##000000
##87B1621.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A75C
Deuteranopia (green-blind)
#B1A467
Tritanopia (blue-blind)
#89AB9E
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87b162;
/* rgb */ color: rgb(135, 177, 98);
/* oklch */ color: oklch(71.1% 0.117 131.7);
Tailwind
colors: {
  custom: {
    50: '#abc890',
    500: '#87b162',
    950: '#000000',
  },
}
SCSS
$custom: #87b162;
$custom-light: #abc890;
$custom-dark: #000000;
JSON
{
  "hex": "#87b162",
  "rgb": {
    "r": 135,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 91.899,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.71121,
    "c": 0.11656,
    "h": 131.7
  },
  "luminance": 0.37477
}

Semantic roles & 50–950 ramp

primary
#87B162
secondary
#B8A7C8
accent
#5ECA97
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130C
muted
#7F827D

Preview Lab

Preview with #87B162

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

Preview Lab → · Contrast checker → · Palette generator →

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