#87A34F#87A34F

#87A34F is a light, moderate yellow-green. Relative luminance 0.319; OKLCH L 67.5% C 0.116 H 124.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#87A34F
RGBrgb(135, 163, 79)
HSLhsl(80, 35%, 47%)
HSVhsv(80, 52%, 64%)
CMYKcmyk(17.2%, 0%, 51.5%, 36.1%)
CIE-LABlab(63.27, -23.46, 40.08)
CIE-LCHlch(63.27, 46.44, 120.34°)
OKLaboklab(67.52% -0.0659 0.0953)
OKLCHoklch(67.52% 0.116 124.7)
XYZxyz(24.5002, 31.9096, 12.2640)
Luminance0.3191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A34F #6B4FA3
analogous
#A3954F #87A34F #5DA34F
triadic
#87A34F #4F87A3 #A34F87
tetradic
#87A34F #4FA395 #6B4FA3 #A34F5D
square
#87A34F #4FA395 #6B4FA3 #A34F5D
split-complementary
#87A34F #4F5DA3 #954FA3
monochromatic
#435127 #657A3B #87A34F #A4BB74 #BFCF9D

Accessibility & contrast

On white

2.84
#87A34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#87A34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A34F
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A34F#FFFFFF#000000##000000
##87A34F1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A47
Deuteranopia (green-blind)
#A79954
Tritanopia (blue-blind)
#8C9C90
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #87a34f;
/* rgb */ color: rgb(135, 163, 79);
/* oklch */ color: oklch(67.5% 0.116 124.7);
Tailwind
colors: {
  custom: {
    50: '#acbe82',
    500: '#87a34f',
    950: '#000000',
  },
}
SCSS
$custom: #87a34f;
$custom-light: #acbe82;
$custom-dark: #000000;
JSON
{
  "hex": "#87a34f",
  "rgb": {
    "r": 135,
    "g": 163,
    "b": 79
  },
  "hsl": {
    "h": 80,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67522,
    "c": 0.11581,
    "h": 124.7
  },
  "luminance": 0.3191
}

Semantic roles & 50–950 ramp

primary
#87A34F
secondary
#A091BC
accent
#5DCB82
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #87A34F

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

Preview Lab → · Contrast checker → · Palette generator →

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