#87A22E#87A22E

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

Color values

HEX#87A22E
RGBrgb(135, 162, 46)
HSLhsl(74, 56%, 41%)
HSVhsv(74, 72%, 64%)
CMYKcmyk(16.7%, 0%, 71.6%, 36.5%)
CIE-LABlab(62.67, -25.68, 54.12)
CIE-LCHlch(62.67, 59.90, 115.39°)
OKLaboklab(66.94% -0.0751 0.1211)
OKLCHoklch(66.94% 0.143 121.8)
XYZxyz(23.4055, 31.1888, 7.3712)
Luminance0.3119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A22E #492EA2
analogous
#A2832E #87A22E #4DA22E
triadic
#87A22E #2E87A2 #A22E87
tetradic
#87A22E #2EA283 #492EA2 #A22E4D
square
#87A22E #2EA283 #492EA2 #A22E4D
split-complementary
#87A22E #2E4DA2 #832EA2
monochromatic
#384313 #5F7220 #87A22E #AACA43 #C0D773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A22E#FFFFFF#000000##000000
##87A22E1.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)
#AC981A
Deuteranopia (green-blind)
#A89838
Tritanopia (blue-blind)
#8E9A8B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #87a22e;
/* rgb */ color: rgb(135, 162, 46);
/* oklch */ color: oklch(66.9% 0.143 121.8);
Tailwind
colors: {
  custom: {
    50: '#adbd6e',
    500: '#87a22e',
    950: '#000000',
  },
}
SCSS
$custom: #87a22e;
$custom-light: #adbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#87a22e",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 73.966,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66939,
    "c": 0.14251,
    "h": 121.8
  },
  "luminance": 0.31189
}

Semantic roles & 50–950 ramp

primary
#87A22E
secondary
#806DBF
accent
#49DF6C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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