#87B120#87B120

#87B120 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.5% C 0.168 H 125.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#87B120
RGBrgb(135, 177, 32)
HSLhsl(77, 69%, 41%)
HSVhsv(77, 82%, 69%)
CMYKcmyk(23.7%, 0%, 81.9%, 30.6%)
CIE-LABlab(67.05, -33.51, 62.76)
CIE-LCHlch(67.05, 71.15, 118.10°)
OKLaboklab(70.46% -0.0976 0.137)
OKLCHoklch(70.46% 0.168 125.5)
XYZxyz(25.9748, 36.6991, 7.0814)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B120 #4A20B1
analogous
#B19220 #87B120 #3FB120
triadic
#87B120 #2087B1 #B12087
tetradic
#87B120 #20B192 #4A20B1 #B1203F
square
#87B120 #20B192 #4A20B1 #B1203F
split-complementary
#87B120 #203FB1 #9220B1
monochromatic
#38490D #5F7D17 #87B120 #AADA34 #C0E468

Accessibility & contrast

On white

2.52
#87B120 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#87B120 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B120
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B120#FFFFFF#000000##000000
##87B1201.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B5A330
Tritanopia (blue-blind)
#8DA897
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #87b120;
/* rgb */ color: rgb(135, 177, 32);
/* oklch */ color: oklch(70.5% 0.168 125.5);
Tailwind
colors: {
  custom: {
    50: '#aec86a',
    500: '#87b120',
    950: '#000000',
  },
}
SCSS
$custom: #87b120;
$custom-light: #aec86a;
$custom-dark: #000000;
JSON
{
  "hex": "#87b120",
  "rgb": {
    "r": 135,
    "g": 177,
    "b": 32
  },
  "hsl": {
    "h": 77.379,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70462,
    "c": 0.16823,
    "h": 125.5
  },
  "luminance": 0.36699
}

Semantic roles & 50–950 ramp

primary
#87B120
secondary
#8164C9
accent
#3CEC6F
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #87B120

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

Preview Lab → · Contrast checker → · Palette generator →

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