#87A52F#87A52F

#87A52F is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.7% C 0.146 H 122.8°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#87A52F
RGBrgb(135, 165, 47)
HSLhsl(75, 56%, 42%)
HSVhsv(75, 72%, 65%)
CMYKcmyk(18.2%, 0%, 71.5%, 35.3%)
CIE-LABlab(63.56, -27.09, 54.63)
CIE-LCHlch(63.56, 60.98, 116.37°)
OKLaboklab(67.66% -0.0789 0.1223)
OKLCHoklch(67.66% 0.146 122.8)
XYZxyz(23.9602, 32.2663, 7.6545)
Luminance0.3227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A52F #4D2FA5
analogous
#A5882F #87A52F #4CA52F
triadic
#87A52F #2F87A5 #A52F87
tetradic
#87A52F #2FA588 #4D2FA5 #A52F4C
square
#87A52F #2FA588 #4D2FA5 #A52F4C
split-complementary
#87A52F #2F4CA5 #882FA5
monochromatic
#394614 #607521 #87A52F #A9CB47 #BFD876

Accessibility & contrast

On white

2.82
#87A52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#87A52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A52F
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A52F#FFFFFF#000000##000000
##87A52F1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1B
Deuteranopia (green-blind)
#AB9A39
Tritanopia (blue-blind)
#8E9D8E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a52f;
/* rgb */ color: rgb(135, 165, 47);
/* oklch */ color: oklch(67.7% 0.146 122.8);
Tailwind
colors: {
  custom: {
    50: '#adbf6f',
    500: '#87a52f',
    950: '#000000',
  },
}
SCSS
$custom: #87a52f;
$custom-light: #adbf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#87a52f",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 75.254,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67664,
    "c": 0.14558,
    "h": 122.8
  },
  "luminance": 0.32266
}

Semantic roles & 50–950 ramp

primary
#87A52F
secondary
#8470C0
accent
#49DF6F
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87A52F

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

Preview Lab → · Contrast checker → · Palette generator →

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