#87A12E#87A12E

#87A12E is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.7% C 0.141 H 121.5°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#87A12E
RGBrgb(135, 161, 46)
HSLhsl(74, 56%, 41%)
HSVhsv(74, 71%, 63%)
CMYKcmyk(16.1%, 0%, 71.4%, 36.9%)
CIE-LABlab(62.37, -25.19, 53.83)
CIE-LCHlch(62.37, 59.43, 115.08°)
OKLaboklab(66.7% -0.0738 0.1205)
OKLCHoklch(66.7% 0.141 121.5)
XYZxyz(23.2300, 30.8379, 7.3127)
Luminance0.3084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A12E #482EA1
analogous
#A1812E #87A12E #4DA12E
triadic
#87A12E #2E87A1 #A12E87
tetradic
#87A12E #2EA181 #482EA1 #A12E4D
square
#87A12E #2EA181 #482EA1 #A12E4D
split-complementary
#87A12E #2E4DA1 #812EA1
monochromatic
#374213 #5F7120 #87A12E #ABC943 #C0D773

Accessibility & contrast

On white

2.93
#87A12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#87A12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A12E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A12E#FFFFFF#000000##000000
##87A12E1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971B
Deuteranopia (green-blind)
#A89738
Tritanopia (blue-blind)
#8E998A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #87a12e;
/* rgb */ color: rgb(135, 161, 46);
/* oklch */ color: oklch(66.7% 0.141 121.5);
Tailwind
colors: {
  custom: {
    50: '#adbc6e',
    500: '#87a12e',
    950: '#000000',
  },
}
SCSS
$custom: #87a12e;
$custom-light: #adbc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#87a12e",
  "rgb": {
    "r": 135,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 73.565,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.667,
    "c": 0.14128,
    "h": 121.5
  },
  "luminance": 0.30838
}

Semantic roles & 50–950 ramp

primary
#87A12E
secondary
#7F6CBE
accent
#49DF6B
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87A12E

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

Preview Lab → · Contrast checker → · Palette generator →

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