#87AF39#87AF39

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

Color values

HEX#87AF39
RGBrgb(135, 175, 57)
HSLhsl(80, 51%, 45%)
HSVhsv(80, 67%, 69%)
CMYKcmyk(22.9%, 0%, 67.4%, 31.4%)
CIE-LABlab(66.60, -31.21, 53.81)
CIE-LCHlch(66.60, 62.21, 120.11°)
OKLaboklab(70.14% -0.0894 0.1221)
OKLCHoklch(70.14% 0.151 126.2)
XYZxyz(26.0603, 36.1059, 9.4663)
Luminance0.3611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF39 #6139AF
analogous
#AF9C39 #87AF39 #4CAF39
triadic
#87AF39 #3987AF #AF3987
tetradic
#87AF39 #39AF9C #6139AF #AF394C
square
#87AF39 #39AF9C #6139AF #AF394C
split-complementary
#87AF39 #394CAF #9C39AF
monochromatic
#40531B #63812A #87AF39 #A4CA5B #BED98A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AF39#FFFFFF#000000##000000
##87AF391.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)
#B8A428
Deuteranopia (green-blind)
#B3A142
Tritanopia (blue-blind)
#8CA797
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af39;
/* rgb */ color: rgb(135, 175, 57);
/* oklch */ color: oklch(70.1% 0.151 126.2);
Tailwind
colors: {
  custom: {
    50: '#adc776',
    500: '#87af39',
    950: '#000000',
  },
}
SCSS
$custom: #87af39;
$custom-light: #adc776;
$custom-dark: #000000;
JSON
{
  "hex": "#87af39",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 80.339,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70144,
    "c": 0.15134,
    "h": 126.2
  },
  "luminance": 0.36106
}

Semantic roles & 50–950 ramp

primary
#87AF39
secondary
#9781C3
accent
#4DDA7D
background
#FAFCF7
surface
#F5F8ED
border
#CFD1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87AF39

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

Preview Lab → · Contrast checker → · Palette generator →

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