#87A22F#87A22F

#87A22F is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.9% C 0.142 H 121.9°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#87A22F
RGBrgb(135, 162, 47)
HSLhsl(74, 55%, 41%)
HSVhsv(74, 71%, 64%)
CMYKcmyk(16.7%, 0%, 71%, 36.5%)
CIE-LABlab(62.67, -25.62, 53.75)
CIE-LCHlch(62.67, 59.54, 115.49°)
OKLaboklab(66.95% -0.0749 0.1205)
OKLCHoklch(66.95% 0.142 121.9)
XYZxyz(23.4254, 31.1968, 7.4762)
Luminance0.3120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A22F #4A2FA2
analogous
#A2832F #87A22F #4DA22F
triadic
#87A22F #2F87A2 #A22F87
tetradic
#87A22F #2FA283 #4A2FA2 #A22F4D
square
#87A22F #2FA283 #4A2FA2 #A22F4D
split-complementary
#87A22F #2F4DA2 #832FA2
monochromatic
#384313 #5F7321 #87A22F #AAC945 #C0D775

Accessibility & contrast

On white

2.90
#87A22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#87A22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A22F
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A22F#FFFFFF#000000##000000
##87A22F1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981C
Deuteranopia (green-blind)
#A89838
Tritanopia (blue-blind)
#8E9A8B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #87a22f;
/* rgb */ color: rgb(135, 162, 47);
/* oklch */ color: oklch(66.9% 0.142 121.9);
Tailwind
colors: {
  custom: {
    50: '#adbd6f',
    500: '#87a22f',
    950: '#000000',
  },
}
SCSS
$custom: #87a22f;
$custom-light: #adbd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#87a22f",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 74.087,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66947,
    "c": 0.14185,
    "h": 121.9
  },
  "luminance": 0.31197
}

Semantic roles & 50–950 ramp

primary
#87A22F
secondary
#816EBF
accent
#49DE6C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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