#87B52B#87B52B

#87B52B 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#87B52B
RGBrgb(135, 181, 43)
HSLhsl(80, 62%, 44%)
HSVhsv(80, 76%, 71%)
CMYKcmyk(25.4%, 0%, 76.2%, 29%)
CIE-LABlab(68.29, -34.85, 60.63)
CIE-LCHlch(68.29, 69.93, 119.89°)
OKLaboklab(71.49% -0.1005 0.1343)
OKLCHoklch(71.49% 0.168 126.8)
XYZxyz(26.9517, 38.3726, 8.2717)
Luminance0.3837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B52B #592BB5
analogous
#B59E2B #87B52B #42B52B
triadic
#87B52B #2B87B5 #B52B87
tetradic
#87B52B #2BB59E #592BB5 #B52B42
square
#87B52B #2BB59E #592BB5 #B52B42
split-complementary
#87B52B #2B42B5 #9E2BB5
monochromatic
#3D5214 #62841F #87B52B #A6D449 #BEE07B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87B52B#FFFFFF#000000##000000
##87B52B1.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)
#BFA807
Deuteranopia (green-blind)
#B8A639
Tritanopia (blue-blind)
#8DAC9B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #87b52b;
/* rgb */ color: rgb(135, 181, 43);
/* oklch */ color: oklch(71.5% 0.168 126.8);
Tailwind
colors: {
  custom: {
    50: '#aecb6f',
    500: '#87b52b',
    950: '#000000',
  },
}
SCSS
$custom: #87b52b;
$custom-light: #aecb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#87b52b",
  "rgb": {
    "r": 135,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 80,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71488,
    "c": 0.16773,
    "h": 126.8
  },
  "luminance": 0.38373
}

Semantic roles & 50–950 ramp

primary
#87B52B
secondary
#9074C8
accent
#43E579
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B52B

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

Preview Lab → · Contrast checker → · Palette generator →

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