#87B232#87B232

#87B232 is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 70.8% C 0.160 H 126.5°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#87B232
RGBrgb(135, 178, 50)
HSLhsl(80, 56%, 45%)
HSVhsv(80, 72%, 70%)
CMYKcmyk(24.2%, 0%, 71.9%, 30.2%)
CIE-LABlab(67.44, -33.08, 57.38)
CIE-LCHlch(67.44, 66.23, 119.96°)
OKLaboklab(70.81% -0.0951 0.1286)
OKLCHoklch(70.81% 0.16 126.5)
XYZxyz(26.4879, 37.2215, 8.8060)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B232 #5D32B2
analogous
#B29D32 #87B232 #47B232
triadic
#87B232 #3287B2 #B23287
tetradic
#87B232 #32B29D #5D32B2 #B23247
square
#87B232 #32B29D #5D32B2 #B23247
split-complementary
#87B232 #3247B2 #9D32B2
monochromatic
#3F5217 #638225 #87B232 #A5CF53 #BEDC82

Accessibility & contrast

On white

2.49
#87B232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#87B232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B232
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B232#FFFFFF#000000##000000
##87B2321.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61B
Deuteranopia (green-blind)
#B5A43D
Tritanopia (blue-blind)
#8DAA99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87b232;
/* rgb */ color: rgb(135, 178, 50);
/* oklch */ color: oklch(70.8% 0.160 126.5);
Tailwind
colors: {
  custom: {
    50: '#aec972',
    500: '#87b232',
    950: '#000000',
  },
}
SCSS
$custom: #87b232;
$custom-light: #aec972;
$custom-dark: #000000;
JSON
{
  "hex": "#87b232",
  "rgb": {
    "r": 135,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 80.156,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7081,
    "c": 0.15992,
    "h": 126.5
  },
  "luminance": 0.37222
}

Semantic roles & 50–950 ramp

primary
#87B232
secondary
#947BC5
accent
#48DF7B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B232

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

Preview Lab → · Contrast checker → · Palette generator →

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