#87B332#87B332

#87B332 is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 71.1% C 0.161 H 126.7°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#87B332
RGBrgb(135, 179, 50)
HSLhsl(80, 56%, 45%)
HSVhsv(80, 72%, 70%)
CMYKcmyk(24.6%, 0%, 72.1%, 29.8%)
CIE-LABlab(67.74, -33.54, 57.67)
CIE-LCHlch(67.74, 66.71, 120.18°)
OKLaboklab(71.05% -0.0964 0.1292)
OKLCHoklch(71.05% 0.161 126.7)
XYZxyz(26.6876, 37.6209, 8.8725)
Luminance0.3762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B332 #5E32B3
analogous
#B39E32 #87B332 #47B332
triadic
#87B332 #3287B3 #B33287
tetradic
#87B332 #32B39E #5E32B3 #B33247
square
#87B332 #32B39E #5E32B3 #B33247
split-complementary
#87B332 #3247B3 #9E32B3
monochromatic
#3F5317 #638325 #87B332 #A5CF53 #BEDC83

Accessibility & contrast

On white

2.46
#87B332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#87B332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B332
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B332#FFFFFF#000000##000000
##87B3321.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71B
Deuteranopia (green-blind)
#B6A43D
Tritanopia (blue-blind)
#8CAB9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87b332;
/* rgb */ color: rgb(135, 179, 50);
/* oklch */ color: oklch(71.1% 0.161 126.7);
Tailwind
colors: {
  custom: {
    50: '#aeca72',
    500: '#87b332',
    950: '#000000',
  },
}
SCSS
$custom: #87b332;
$custom-light: #aeca72;
$custom-dark: #000000;
JSON
{
  "hex": "#87b332",
  "rgb": {
    "r": 135,
    "g": 179,
    "b": 50
  },
  "hsl": {
    "h": 80.465,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71052,
    "c": 0.16116,
    "h": 126.7
  },
  "luminance": 0.37621
}

Semantic roles & 50–950 ramp

primary
#87B332
secondary
#957BC6
accent
#48E07C
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B332

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

Preview Lab → · Contrast checker → · Palette generator →

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