#87AF36#87AF36

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

Color values

HEX#87AF36
RGBrgb(135, 175, 54)
HSLhsl(80, 53%, 45%)
HSVhsv(80, 69%, 69%)
CMYKcmyk(22.9%, 0%, 69.1%, 31.4%)
CIE-LABlab(66.58, -31.42, 54.99)
CIE-LCHlch(66.58, 63.33, 119.74°)
OKLaboklab(70.12% -0.0902 0.1242)
OKLCHoklch(70.12% 0.153 126)
XYZxyz(25.9876, 36.0768, 9.0837)
Luminance0.3608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF36 #5E36AF
analogous
#AF9B36 #87AF36 #4AAF36
triadic
#87AF36 #3687AF #AF3687
tetradic
#87AF36 #36AF9B #5E36AF #AF364A
square
#87AF36 #36AF9B #5E36AF #AF364A
split-complementary
#87AF36 #364AAF #9B36AF
monochromatic
#3F5119 #638028 #87AF36 #A5CB57 #BEDA86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AF36#FFFFFF#000000##000000
##87AF361.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)
#B8A324
Deuteranopia (green-blind)
#B3A140
Tritanopia (blue-blind)
#8DA797
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af36;
/* rgb */ color: rgb(135, 175, 54);
/* oklch */ color: oklch(70.1% 0.153 126.0);
Tailwind
colors: {
  custom: {
    50: '#adc774',
    500: '#87af36',
    950: '#000000',
  },
}
SCSS
$custom: #87af36;
$custom-light: #adc774;
$custom-dark: #000000;
JSON
{
  "hex": "#87af36",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 79.835,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70119,
    "c": 0.15347,
    "h": 126
  },
  "luminance": 0.36077
}

Semantic roles & 50–950 ramp

primary
#87AF36
secondary
#957DC3
accent
#4CDC7B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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