#87AF22#87AF22

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

Color values

HEX#87AF22
RGBrgb(135, 175, 34)
HSLhsl(77, 67%, 41%)
HSVhsv(77, 81%, 69%)
CMYKcmyk(22.9%, 0%, 80.6%, 31.4%)
CIE-LABlab(66.46, -32.50, 61.68)
CIE-LCHlch(66.46, 69.72, 117.78°)
OKLaboklab(69.99% -0.0948 0.135)
OKLCHoklch(69.99% 0.165 125.1)
XYZxyz(25.6106, 35.9260, 7.0982)
Luminance0.3593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF22 #4A22AF
analogous
#AF9022 #87AF22 #41AF22
triadic
#87AF22 #2287AF #AF2287
tetradic
#87AF22 #22AF90 #4A22AF #AF2241
square
#87AF22 #22AF90 #4A22AF #AF2241
split-complementary
#87AF22 #2241AF #9022AF
monochromatic
#38490E #5F7C18 #87AF22 #AAD836 #C0E269

Accessibility & contrast

On white

2.57
#87AF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AF22#FFFFFF#000000##000000
##87AF221.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B4A131
Tritanopia (blue-blind)
#8EA695
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af22;
/* rgb */ color: rgb(135, 175, 34);
/* oklch */ color: oklch(70.0% 0.165 125.1);
Tailwind
colors: {
  custom: {
    50: '#aec76b',
    500: '#87af22',
    950: '#000000',
  },
}
SCSS
$custom: #87af22;
$custom-light: #aec76b;
$custom-dark: #000000;
JSON
{
  "hex": "#87af22",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 77.021,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69989,
    "c": 0.16497,
    "h": 125.1
  },
  "luminance": 0.35926
}

Semantic roles & 50–950 ramp

primary
#87AF22
secondary
#8165C8
accent
#3DEA6E
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #87AF22

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

Preview Lab → · Contrast checker → · Palette generator →

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