#87B752#87B752

#87B752 is a light, vivid yellow-green. Relative luminance 0.396; OKLCH L 72.3% C 0.141 H 130.4°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#87B752
RGBrgb(135, 183, 82)
HSLhsl(89, 41%, 52%)
HSVhsv(89, 55%, 72%)
CMYKcmyk(26.2%, 0%, 55.2%, 28.2%)
CIE-LABlab(69.20, -32.80, 45.64)
CIE-LCHlch(69.20, 56.20, 125.70°)
OKLaboklab(72.32% -0.0916 0.1076)
OKLCHoklch(72.32% 0.141 130.4)
XYZxyz(28.4479, 39.6264, 14.1308)
Luminance0.3963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B752 #8252B7
analogous
#B7B552 #87B752 #55B752
triadic
#87B752 #5287B7 #B75287
tetradic
#87B752 #52B7B5 #8252B7 #B75255
square
#87B752 #52B7B5 #8252B7 #B75255
split-complementary
#87B752 #5255B7 #B552B7
monochromatic
#49652A #68903C #87B752 #A5C97D #C3DBA8

Accessibility & contrast

On white

2.35
#87B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#87B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B752
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B752#FFFFFF#000000##000000
##87B7521.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB48
Deuteranopia (green-blind)
#B8A859
Tritanopia (blue-blind)
#8AB0A1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #87b752;
/* rgb */ color: rgb(135, 183, 82);
/* oklch */ color: oklch(72.3% 0.141 130.4);
Tailwind
colors: {
  custom: {
    50: '#accd86',
    500: '#87b752',
    950: '#000000',
  },
}
SCSS
$custom: #87b752;
$custom-light: #accd86;
$custom-dark: #000000;
JSON
{
  "hex": "#87b752",
  "rgb": {
    "r": 135,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 88.515,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.72325,
    "c": 0.14131,
    "h": 130.4
  },
  "luminance": 0.39627
}

Semantic roles & 50–950 ramp

primary
#87B752
secondary
#B19CC9
accent
#57D191
background
#FAFCF8
surface
#F4F9EF
border
#CED2CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #87B752

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

Preview Lab → · Contrast checker → · Palette generator →

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