#87B52A#87B52A

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

Color values

HEX#87B52A
RGBrgb(135, 181, 42)
HSLhsl(80, 62%, 44%)
HSVhsv(80, 77%, 71%)
CMYKcmyk(25.4%, 0%, 76.8%, 29%)
CIE-LABlab(68.29, -34.90, 60.95)
CIE-LCHlch(68.29, 70.23, 119.80°)
OKLaboklab(71.48% -0.1007 0.1348)
OKLCHoklch(71.48% 0.168 126.8)
XYZxyz(26.9336, 38.3653, 8.1763)
Luminance0.3837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B52A #582AB5
analogous
#B59D2A #87B52A #41B52A
triadic
#87B52A #2A87B5 #B52A87
tetradic
#87B52A #2AB59D #582AB5 #B52A41
square
#87B52A #2AB59D #582AB5 #B52A41
split-complementary
#87B52A #2A41B5 #9D2AB5
monochromatic
#3D5213 #62831E #87B52A #A6D448 #BEE079

Accessibility & contrast

On white

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

On black

8.67
#87B52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B52A
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B52A#FFFFFF#000000##000000
##87B52A1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA804
Deuteranopia (green-blind)
#B8A638
Tritanopia (blue-blind)
#8DAC9B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #87b52a;
/* rgb */ color: rgb(135, 181, 42);
/* oklch */ color: oklch(71.5% 0.168 126.8);
Tailwind
colors: {
  custom: {
    50: '#aecb6f',
    500: '#87b52a',
    950: '#000000',
  },
}
SCSS
$custom: #87b52a;
$custom-light: #aecb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#87b52a",
  "rgb": {
    "r": 135,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 79.856,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71482,
    "c": 0.16826,
    "h": 126.8
  },
  "luminance": 0.38366
}

Semantic roles & 50–950 ramp

primary
#87B52A
secondary
#8F73C8
accent
#42E578
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B52A

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

Preview Lab → · Contrast checker → · Palette generator →

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