#87AF29#87AF29

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

Color values

HEX#87AF29
RGBrgb(135, 175, 41)
HSLhsl(78, 62%, 42%)
HSVhsv(78, 77%, 69%)
CMYKcmyk(22.9%, 0%, 76.6%, 31.4%)
CIE-LABlab(66.50, -32.18, 59.58)
CIE-LCHlch(66.50, 67.72, 118.37°)
OKLaboklab(70.03% -0.0934 0.1318)
OKLCHoklch(70.03% 0.161 125.3)
XYZxyz(25.7221, 35.9706, 7.6853)
Luminance0.3597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF29 #5129AF
analogous
#AF9429 #87AF29 #44AF29
triadic
#87AF29 #2987AF #AF2987
tetradic
#87AF29 #29AF94 #5129AF #AF2944
square
#87AF29 #29AF94 #5129AF #AF2944
split-complementary
#87AF29 #2944AF #9429AF
monochromatic
#3B4C12 #617D1D #87AF29 #A8D342 #BFDE74

Accessibility & contrast

On white

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

On black

8.19
#87AF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AF29
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AF29#FFFFFF#000000##000000
##87AF291.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87af29;
/* rgb */ color: rgb(135, 175, 41);
/* oklch */ color: oklch(70.0% 0.161 125.3);
Tailwind
colors: {
  custom: {
    50: '#aec76e',
    500: '#87af29',
    950: '#000000',
  },
}
SCSS
$custom: #87af29;
$custom-light: #aec76e;
$custom-dark: #000000;
JSON
{
  "hex": "#87af29",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 77.91,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70027,
    "c": 0.16149,
    "h": 125.3
  },
  "luminance": 0.35971
}

Semantic roles & 50–950 ramp

primary
#87AF29
secondary
#886EC6
accent
#43E573
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #87AF29

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

Preview Lab → · Contrast checker → · Palette generator →

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