#87AF2A#87AF2A

#87AF2A is a light, vivid yellow-green. Relative luminance 0.360; OKLCH L 70.0% C 0.161 H 125.4°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#87AF2A
RGBrgb(135, 175, 42)
HSLhsl(78, 61%, 43%)
HSVhsv(78, 76%, 69%)
CMYKcmyk(22.9%, 0%, 76%, 31.4%)
CIE-LABlab(66.50, -32.13, 59.26)
CIE-LCHlch(66.50, 67.41, 118.46°)
OKLaboklab(70.03% -0.0932 0.1312)
OKLCHoklch(70.03% 0.161 125.4)
XYZxyz(25.7398, 35.9777, 7.7783)
Luminance0.3598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF2A #522AAF
analogous
#AF942A #87AF2A #45AF2A
triadic
#87AF2A #2A87AF #AF2A87
tetradic
#87AF2A #2AAF94 #522AAF #AF2A45
square
#87AF2A #2AAF94 #522AAF #AF2A45
split-complementary
#87AF2A #2A45AF #942AAF
monochromatic
#3B4C12 #617E1E #87AF2A #A7D244 #BFDE75

Accessibility & contrast

On white

2.56
#87AF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#87AF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AF2A
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AF2A#FFFFFF#000000##000000
##87AF2A1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A309
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#8DA696
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af2a;
/* rgb */ color: rgb(135, 175, 42);
/* oklch */ color: oklch(70.0% 0.161 125.4);
Tailwind
colors: {
  custom: {
    50: '#aec76e',
    500: '#87af2a',
    950: '#000000',
  },
}
SCSS
$custom: #87af2a;
$custom-light: #aec76e;
$custom-dark: #000000;
JSON
{
  "hex": "#87af2a",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 78.045,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70033,
    "c": 0.16094,
    "h": 125.4
  },
  "luminance": 0.35978
}

Semantic roles & 50–950 ramp

primary
#87AF2A
secondary
#896FC6
accent
#43E474
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #87AF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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