#87AF37#87AF37

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

Color values

HEX#87AF37
RGBrgb(135, 175, 55)
HSLhsl(80, 52%, 45%)
HSVhsv(80, 69%, 69%)
CMYKcmyk(22.9%, 0%, 68.6%, 31.4%)
CIE-LABlab(66.59, -31.35, 54.60)
CIE-LCHlch(66.59, 62.96, 119.86°)
OKLaboklab(70.13% -0.0899 0.1235)
OKLCHoklch(70.13% 0.153 126.1)
XYZxyz(26.0113, 36.0863, 9.2086)
Luminance0.3609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF37 #5F37AF
analogous
#AF9B37 #87AF37 #4BAF37
triadic
#87AF37 #3787AF #AF3787
tetradic
#87AF37 #37AF9B #5F37AF #AF374B
square
#87AF37 #37AF9B #5F37AF #AF374B
split-complementary
#87AF37 #374BAF #9B37AF
monochromatic
#3F521A #638028 #87AF37 #A5CB59 #BED987

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AF37#FFFFFF#000000##000000
##87AF371.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A325
Deuteranopia (green-blind)
#B3A141
Tritanopia (blue-blind)
#8DA797
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af37;
/* rgb */ color: rgb(135, 175, 55);
/* oklch */ color: oklch(70.1% 0.153 126.1);
Tailwind
colors: {
  custom: {
    50: '#adc775',
    500: '#87af37',
    950: '#000000',
  },
}
SCSS
$custom: #87af37;
$custom-light: #adc775;
$custom-dark: #000000;
JSON
{
  "hex": "#87af37",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 80,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70127,
    "c": 0.15277,
    "h": 126.1
  },
  "luminance": 0.36087
}

Semantic roles & 50–950 ramp

primary
#87AF37
secondary
#957FC3
accent
#4CDC7C
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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