#87A11A#87A11A

#87A11A is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.6% C 0.152 H 120.9°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#87A11A
RGBrgb(135, 161, 26)
HSLhsl(72, 72%, 37%)
HSVhsv(72, 84%, 63%)
CMYKcmyk(16.1%, 0%, 83.9%, 36.9%)
CIE-LABlab(62.27, -26.12, 60.13)
CIE-LCHlch(62.27, 65.56, 113.48°)
OKLaboklab(66.58% -0.0779 0.1304)
OKLCHoklch(66.58% 0.152 120.9)
XYZxyz(22.9234, 30.7153, 5.6981)
Luminance0.3071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A11A #341AA1
analogous
#A1781A #87A11A #43A11A
triadic
#87A11A #1A87A1 #A11A87
tetradic
#87A11A #1AA178 #341AA1 #A11A43
square
#87A11A #1AA178 #341AA1 #A11A43
split-complementary
#87A11A #1A43A1 #781AA1
monochromatic
#2F3809 #5B6C11 #87A11A #B3D623 #C7E352

Accessibility & contrast

On white

2.94
#87A11A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#87A11A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A11A
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A11A#FFFFFF#000000##000000
##87A11A1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#A89729
Tritanopia (blue-blind)
#8F9889
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #87a11a;
/* rgb */ color: rgb(135, 161, 26);
/* oklch */ color: oklch(66.6% 0.152 120.9);
Tailwind
colors: {
  custom: {
    50: '#aebc65',
    500: '#87a11a',
    950: '#000000',
  },
}
SCSS
$custom: #87a11a;
$custom-light: #aebc65;
$custom-dark: #000000;
JSON
{
  "hex": "#87a11a",
  "rgb": {
    "r": 135,
    "g": 161,
    "b": 26
  },
  "hsl": {
    "h": 71.556,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66583,
    "c": 0.15193,
    "h": 120.9
  },
  "luminance": 0.30715
}

Semantic roles & 50–950 ramp

primary
#87A11A
secondary
#6751C6
accent
#39EF5C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #87A11A

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

Preview Lab → · Contrast checker → · Palette generator →

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