#87A22A#87A22A

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

Color values

HEX#87A22A
RGBrgb(135, 162, 42)
HSLhsl(74, 59%, 40%)
HSVhsv(74, 74%, 64%)
CMYKcmyk(16.7%, 0%, 74.1%, 36.5%)
CIE-LABlab(62.64, -25.91, 55.56)
CIE-LCHlch(62.64, 61.31, 115.00°)
OKLaboklab(66.91% -0.0761 0.1235)
OKLCHoklch(66.91% 0.145 121.7)
XYZxyz(23.3303, 31.1587, 6.9752)
Luminance0.3116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A22A #452AA2
analogous
#A2812A #87A22A #4BA22A
triadic
#87A22A #2A87A2 #A22A87
tetradic
#87A22A #2AA281 #452AA2 #A22A4B
square
#87A22A #2AA281 #452AA2 #A22A4B
split-complementary
#87A22A #2A4BA2 #812AA2
monochromatic
#364111 #5F711D #87A22A #ACCD3D #C1D96D

Accessibility & contrast

On white

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

On black

7.23
#87A22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A22A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A22A#FFFFFF#000000##000000
##87A22A1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9812
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#8E998B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #87a22a;
/* rgb */ color: rgb(135, 162, 42);
/* oklch */ color: oklch(66.9% 0.145 121.7);
Tailwind
colors: {
  custom: {
    50: '#adbd6c',
    500: '#87a22a',
    950: '#000000',
  },
}
SCSS
$custom: #87a22a;
$custom-light: #adbd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#87a22a",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 73.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.66911,
    "c": 0.14505,
    "h": 121.7
  },
  "luminance": 0.31159
}

Semantic roles & 50–950 ramp

primary
#87A22A
secondary
#7C68C0
accent
#46E269
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87A22A

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

Preview Lab → · Contrast checker → · Palette generator →

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