#87A052#87A052

#87A052 is a light, moderate yellow-green. Relative luminance 0.309; OKLCH L 66.9% C 0.108 H 123.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#87A052
RGBrgb(135, 160, 82)
HSLhsl(79, 32%, 47%)
HSVhsv(79, 49%, 63%)
CMYKcmyk(15.6%, 0%, 48.8%, 37.3%)
CIE-LABlab(62.42, -21.63, 37.56)
CIE-LCHlch(62.42, 43.34, 119.94°)
OKLaboklab(66.86% -0.0605 0.0899)
OKLCHoklch(66.86% 0.108 123.9)
XYZxyz(24.0855, 30.9016, 12.6767)
Luminance0.3090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A052 #6B52A0
analogous
#A09252 #87A052 #60A052
triadic
#87A052 #5287A0 #A05287
tetradic
#87A052 #52A092 #6B52A0 #A05260
square
#87A052 #52A092 #6B52A0 #A05260
split-complementary
#87A052 #5260A0 #9252A0
monochromatic
#434F29 #65783D #87A052 #A4B976 #BFCE9F

Accessibility & contrast

On white

2.92
#87A052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#87A052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A052
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A052#FFFFFF#000000##000000
##87A0521.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8984B
Deuteranopia (green-blind)
#A49756
Tritanopia (blue-blind)
#8C998E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #87a052;
/* rgb */ color: rgb(135, 160, 82);
/* oklch */ color: oklch(66.9% 0.108 123.9);
Tailwind
colors: {
  custom: {
    50: '#abbc84',
    500: '#87a052',
    950: '#000000',
  },
}
SCSS
$custom: #87a052;
$custom-light: #abbc84;
$custom-dark: #000000;
JSON
{
  "hex": "#87a052",
  "rgb": {
    "r": 135,
    "g": 160,
    "b": 82
  },
  "hsl": {
    "h": 79.231,
    "s": 32.231,
    "l": 47.451
  },
  "oklch": {
    "l": 0.66856,
    "c": 0.10838,
    "h": 123.9
  },
  "luminance": 0.30902
}

Semantic roles & 50–950 ramp

primary
#87A052
secondary
#A093BB
accent
#5FC881
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #87A052

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

Preview Lab → · Contrast checker → · Palette generator →

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