#87B52C#87B52C

#87B52C is a light, vivid yellow-green. Relative luminance 0.384; OKLCH L 71.5% C 0.167 H 126.9°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#87B52C
RGBrgb(135, 181, 44)
HSLhsl(80, 61%, 44%)
HSVhsv(80, 76%, 71%)
CMYKcmyk(25.4%, 0%, 75.7%, 29%)
CIE-LABlab(68.30, -34.80, 60.31)
CIE-LCHlch(68.30, 69.63, 119.99°)
OKLaboklab(71.49% -0.1003 0.1338)
OKLCHoklch(71.49% 0.167 126.9)
XYZxyz(26.9703, 38.3800, 8.3695)
Luminance0.3838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B52C #5A2CB5
analogous
#B59F2C #87B52C #43B52C
triadic
#87B52C #2C87B5 #B52C87
tetradic
#87B52C #2CB59F #5A2CB5 #B52C43
square
#87B52C #2CB59F #5A2CB5 #B52C43
split-complementary
#87B52C #2C43B5 #9F2CB5
monochromatic
#3E5314 #628420 #87B52C #A5D34B #BEDF7C

Accessibility & contrast

On white

2.42
#87B52C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#87B52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B52C
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B52C#FFFFFF#000000##000000
##87B52C1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA80B
Deuteranopia (green-blind)
#B8A639
Tritanopia (blue-blind)
#8CAC9B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #87b52c;
/* rgb */ color: rgb(135, 181, 44);
/* oklch */ color: oklch(71.5% 0.167 126.9);
Tailwind
colors: {
  custom: {
    50: '#aecb70',
    500: '#87b52c',
    950: '#000000',
  },
}
SCSS
$custom: #87b52c;
$custom-light: #aecb70;
$custom-dark: #000000;
JSON
{
  "hex": "#87b52c",
  "rgb": {
    "r": 135,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 80.146,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71494,
    "c": 0.16718,
    "h": 126.9
  },
  "luminance": 0.3838
}

Semantic roles & 50–950 ramp

primary
#87B52C
secondary
#9175C8
accent
#44E47A
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B52C

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

Preview Lab → · Contrast checker → · Palette generator →

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