#87B32A#87B32A

#87B32A is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 71.0% C 0.166 H 126.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#87B32A
RGBrgb(135, 179, 42)
HSLhsl(79, 62%, 43%)
HSVhsv(79, 77%, 70%)
CMYKcmyk(24.6%, 0%, 76.5%, 29.8%)
CIE-LABlab(67.69, -33.98, 60.39)
CIE-LCHlch(67.69, 69.29, 119.37°)
OKLaboklab(71% -0.0982 0.1336)
OKLCHoklch(71% 0.166 126.3)
XYZxyz(26.5298, 37.5578, 8.0417)
Luminance0.3756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B32A #562AB3
analogous
#B39A2A #87B32A #42B32A
triadic
#87B32A #2A87B3 #B32A87
tetradic
#87B32A #2AB39A #562AB3 #B32A42
square
#87B32A #2AB39A #562AB3 #B32A42
split-complementary
#87B32A #2A42B3 #9A2AB3
monochromatic
#3C5013 #62811E #87B32A #A6D446 #BEDF78

Accessibility & contrast

On white

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

On black

8.51
#87B32A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B32A
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B32A#FFFFFF#000000##000000
##87B32A1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA706
Deuteranopia (green-blind)
#B7A438
Tritanopia (blue-blind)
#8DAA99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87b32a;
/* rgb */ color: rgb(135, 179, 42);
/* oklch */ color: oklch(71.0% 0.166 126.3);
Tailwind
colors: {
  custom: {
    50: '#aeca6e',
    500: '#87b32a',
    950: '#000000',
  },
}
SCSS
$custom: #87b32a;
$custom-light: #aeca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#87b32a",
  "rgb": {
    "r": 135,
    "g": 179,
    "b": 42
  },
  "hsl": {
    "h": 79.27,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70999,
    "c": 0.16583,
    "h": 126.3
  },
  "luminance": 0.37558
}

Semantic roles & 50–950 ramp

primary
#87B32A
secondary
#8D72C7
accent
#43E577
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B32A

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

Preview Lab → · Contrast checker → · Palette generator →

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