#87B52F#87B52F

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

Color values

HEX#87B52F
RGBrgb(135, 181, 47)
HSLhsl(81, 59%, 45%)
HSVhsv(81, 74%, 71%)
CMYKcmyk(25.4%, 0%, 74%, 29%)
CIE-LABlab(68.32, -34.63, 59.31)
CIE-LCHlch(68.32, 68.68, 120.28°)
OKLaboklab(71.51% -0.0996 0.1321)
OKLCHoklch(71.51% 0.165 127)
XYZxyz(27.0287, 38.4034, 8.6774)
Luminance0.3840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B52F #5D2FB5
analogous
#B5A02F #87B52F #44B52F
triadic
#87B52F #2F87B5 #B52F87
tetradic
#87B52F #2FB5A0 #5D2FB5 #B52F44
square
#87B52F #2FB5A0 #5D2FB5 #B52F44
split-complementary
#87B52F #2F44B5 #A02FB5
monochromatic
#3F5416 #638422 #87B52F #A5D150 #BEDE80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87B52F#FFFFFF#000000##000000
##87B52F1.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)
#BEA813
Deuteranopia (green-blind)
#B8A63C
Tritanopia (blue-blind)
#8CAD9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #87b52f;
/* rgb */ color: rgb(135, 181, 47);
/* oklch */ color: oklch(71.5% 0.165 127.0);
Tailwind
colors: {
  custom: {
    50: '#aecb71',
    500: '#87b52f',
    950: '#000000',
  },
}
SCSS
$custom: #87b52f;
$custom-light: #aecb71;
$custom-dark: #000000;
JSON
{
  "hex": "#87b52f",
  "rgb": {
    "r": 135,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 80.597,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71513,
    "c": 0.16548,
    "h": 127
  },
  "luminance": 0.38404
}

Semantic roles & 50–950 ramp

primary
#87B52F
secondary
#9479C7
accent
#46E27B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B52F

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

Preview Lab → · Contrast checker → · Palette generator →

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