#87A952#87A952

#87A952 is a light, vivid yellow-green. Relative luminance 0.341; OKLCH L 69.0% C 0.121 H 127.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#87A952
RGBrgb(135, 169, 82)
HSLhsl(83, 35%, 49%)
HSVhsv(83, 51%, 66%)
CMYKcmyk(20.1%, 0%, 51.5%, 33.7%)
CIE-LABlab(65.07, -26.11, 40.75)
CIE-LCHlch(65.07, 48.40, 122.65°)
OKLaboklab(68.99% -0.073 0.097)
OKLCHoklch(68.99% 0.121 127)
XYZxyz(25.7025, 34.1357, 13.2157)
Luminance0.3414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A952 #7452A9
analogous
#A9A052 #87A952 #5CA952
triadic
#87A952 #5287A9 #A95287
tetradic
#87A952 #52A9A0 #7452A9 #A9525C
square
#87A952 #52A9A0 #7452A9 #A9525C
split-complementary
#87A952 #525CA9 #A052A9
monochromatic
#45572A #66803E #87A952 #A4BE7A #C0D2A3

Accessibility & contrast

On white

2.68
#87A952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#87A952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A952
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A952#FFFFFF#000000##000000
##87A9521.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F4A
Deuteranopia (green-blind)
#AC9D57
Tritanopia (blue-blind)
#8BA295
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #87a952;
/* rgb */ color: rgb(135, 169, 82);
/* oklch */ color: oklch(69.0% 0.121 127.0);
Tailwind
colors: {
  custom: {
    50: '#acc285',
    500: '#87a952',
    950: '#000000',
  },
}
SCSS
$custom: #87a952;
$custom-light: #acc285;
$custom-dark: #000000;
JSON
{
  "hex": "#87a952",
  "rgb": {
    "r": 135,
    "g": 169,
    "b": 82
  },
  "hsl": {
    "h": 83.448,
    "s": 34.661,
    "l": 49.216
  },
  "oklch": {
    "l": 0.68986,
    "c": 0.12138,
    "h": 127
  },
  "luminance": 0.34136
}

Semantic roles & 50–950 ramp

primary
#87A952
secondary
#A797C0
accent
#5DCB88
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #87A952

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

Preview Lab → · Contrast checker → · Palette generator →

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