#87B32B#87B32B

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

Color values

HEX#87B32B
RGBrgb(135, 179, 43)
HSLhsl(79, 61%, 44%)
HSVhsv(79, 76%, 70%)
CMYKcmyk(24.6%, 0%, 76%, 29.8%)
CIE-LABlab(67.70, -33.93, 60.07)
CIE-LCHlch(67.70, 68.99, 119.46°)
OKLaboklab(71.01% -0.098 0.1331)
OKLCHoklch(71.01% 0.165 126.4)
XYZxyz(26.5480, 37.5651, 8.1371)
Luminance0.3757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B32B #572BB3
analogous
#B39B2B #87B32B #43B32B
triadic
#87B32B #2B87B3 #B32B87
tetradic
#87B32B #2BB39B #572BB3 #B32B43
square
#87B32B #2BB39B #572BB3 #B32B43
split-complementary
#87B32B #2B43B3 #9B2BB3
monochromatic
#3D5013 #62821F #87B32B #A6D348 #BEDF79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87B32B#FFFFFF#000000##000000
##87B32B1.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)
#BDA709
Deuteranopia (green-blind)
#B7A438
Tritanopia (blue-blind)
#8DAA99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87b32b;
/* rgb */ color: rgb(135, 179, 43);
/* oklch */ color: oklch(71.0% 0.165 126.4);
Tailwind
colors: {
  custom: {
    50: '#aeca6f',
    500: '#87b32b',
    950: '#000000',
  },
}
SCSS
$custom: #87b32b;
$custom-light: #aeca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#87b32b",
  "rgb": {
    "r": 135,
    "g": 179,
    "b": 43
  },
  "hsl": {
    "h": 79.412,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71005,
    "c": 0.16528,
    "h": 126.4
  },
  "luminance": 0.37566
}

Semantic roles & 50–950 ramp

primary
#87B32B
secondary
#8E73C7
accent
#43E477
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B32B

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

Preview Lab → · Contrast checker → · Palette generator →

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