#87AF3A#87AF3A

#87AF3A is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 70.2% C 0.151 H 126.3°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#87AF3A
RGBrgb(135, 175, 58)
HSLhsl(81, 50%, 46%)
HSVhsv(81, 67%, 69%)
CMYKcmyk(22.9%, 0%, 66.9%, 31.4%)
CIE-LABlab(66.61, -31.14, 53.42)
CIE-LCHlch(66.61, 61.83, 120.24°)
OKLaboklab(70.15% -0.0891 0.1214)
OKLCHoklch(70.15% 0.151 126.3)
XYZxyz(26.0854, 36.1159, 9.5989)
Luminance0.3612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF3A #623AAF
analogous
#AF9C3A #87AF3A #4CAF3A
triadic
#87AF3A #3A87AF #AF3A87
tetradic
#87AF3A #3AAF9C #623AAF #AF3A4C
square
#87AF3A #3AAF9C #623AAF #AF3A4C
split-complementary
#87AF3A #3A4CAF #9C3AAF
monochromatic
#40531C #64812B #87AF3A #A4C95D #BED98B

Accessibility & contrast

On white

2.55
#87AF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#87AF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AF3A
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AF3A#FFFFFF#000000##000000
##87AF3A1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42A
Deuteranopia (green-blind)
#B3A143
Tritanopia (blue-blind)
#8CA797
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af3a;
/* rgb */ color: rgb(135, 175, 58);
/* oklch */ color: oklch(70.2% 0.151 126.3);
Tailwind
colors: {
  custom: {
    50: '#adc776',
    500: '#87af3a',
    950: '#000000',
  },
}
SCSS
$custom: #87af3a;
$custom-light: #adc776;
$custom-dark: #000000;
JSON
{
  "hex": "#87af3a",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 80.513,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70153,
    "c": 0.15061,
    "h": 126.3
  },
  "luminance": 0.36116
}

Semantic roles & 50–950 ramp

primary
#87AF3A
secondary
#9882C3
accent
#4EDA7E
background
#FAFCF7
surface
#F5F8ED
border
#CFD1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87AF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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