#87A120#87A120

#87A120 is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.6% C 0.149 H 121.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#87A120
RGBrgb(135, 161, 32)
HSLhsl(72, 67%, 38%)
HSVhsv(72, 80%, 63%)
CMYKcmyk(16.1%, 0%, 80.1%, 36.9%)
CIE-LABlab(62.29, -25.90, 58.50)
CIE-LCHlch(62.29, 63.98, 113.88°)
OKLaboklab(66.61% -0.0769 0.128)
OKLCHoklch(66.61% 0.149 121)
XYZxyz(22.9977, 30.7449, 6.0890)
Luminance0.3075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A120 #3A20A1
analogous
#A17A20 #87A120 #46A120
triadic
#87A120 #2087A1 #A12087
tetradic
#87A120 #20A17A #3A20A1 #A12046
square
#87A120 #20A17A #3A20A1 #A12046
split-complementary
#87A120 #2046A1 #7A20A1
monochromatic
#313B0C #5C6E16 #87A120 #B2D42A #C5DF5D

Accessibility & contrast

On white

2.94
#87A120 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#87A120 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A120
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A120#FFFFFF#000000##000000
##87A1201.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A8972D
Tritanopia (blue-blind)
#8F9889
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #87a120;
/* rgb */ color: rgb(135, 161, 32);
/* oklch */ color: oklch(66.6% 0.149 121.0);
Tailwind
colors: {
  custom: {
    50: '#aebc68',
    500: '#87a120',
    950: '#000000',
  },
}
SCSS
$custom: #87a120;
$custom-light: #aebc68;
$custom-dark: #000000;
JSON
{
  "hex": "#87a120",
  "rgb": {
    "r": 135,
    "g": 161,
    "b": 32
  },
  "hsl": {
    "h": 72.093,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.66612,
    "c": 0.14929,
    "h": 121
  },
  "luminance": 0.30745
}

Semantic roles & 50–950 ramp

primary
#87A120
secondary
#6F5AC3
accent
#3EEA61
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A120

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

Preview Lab → · Contrast checker → · Palette generator →

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