#87AF24#87AF24

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

Color values

HEX#87AF24
RGBrgb(135, 175, 36)
HSLhsl(77, 66%, 41%)
HSVhsv(77, 79%, 69%)
CMYKcmyk(22.9%, 0%, 79.4%, 31.4%)
CIE-LABlab(66.47, -32.41, 61.11)
CIE-LCHlch(66.47, 69.18, 117.94°)
OKLaboklab(70% -0.0944 0.1342)
OKLCHoklch(70% 0.164 125.1)
XYZxyz(25.6403, 35.9379, 7.2546)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF24 #4C24AF
analogous
#AF9224 #87AF24 #42AF24
triadic
#87AF24 #2487AF #AF2487
tetradic
#87AF24 #24AF92 #4C24AF #AF2442
square
#87AF24 #24AF92 #4C24AF #AF2442
split-complementary
#87AF24 #2442AF #9224AF
monochromatic
#39490F #607C1A #87AF24 #A9D63A #BFE16D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AF24#FFFFFF#000000##000000
##87AF241.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)
#B9A300
Deuteranopia (green-blind)
#B4A133
Tritanopia (blue-blind)
#8DA696
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af24;
/* rgb */ color: rgb(135, 175, 36);
/* oklch */ color: oklch(70.0% 0.164 125.1);
Tailwind
colors: {
  custom: {
    50: '#aec76b',
    500: '#87af24',
    950: '#000000',
  },
}
SCSS
$custom: #87af24;
$custom-light: #aec76b;
$custom-dark: #000000;
JSON
{
  "hex": "#87af24",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 77.266,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69999,
    "c": 0.16404,
    "h": 125.1
  },
  "luminance": 0.35938
}

Semantic roles & 50–950 ramp

primary
#87AF24
secondary
#8368C7
accent
#3FE970
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #87AF24

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

Preview Lab → · Contrast checker → · Palette generator →

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