#87A11F#87A11F

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

Color values

HEX#87A11F
RGBrgb(135, 161, 31)
HSLhsl(72, 68%, 38%)
HSVhsv(72, 81%, 63%)
CMYKcmyk(16.1%, 0%, 80.7%, 36.9%)
CIE-LABlab(62.29, -25.94, 58.79)
CIE-LCHlch(62.29, 64.26, 113.81°)
OKLaboklab(66.61% -0.0771 0.1284)
OKLCHoklch(66.61% 0.15 121)
XYZxyz(22.9843, 30.7396, 6.0185)
Luminance0.3074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A11F #391FA1
analogous
#A17A1F #87A11F #46A11F
triadic
#87A11F #1F87A1 #A11F87
tetradic
#87A11F #1FA17A #391FA1 #A11F46
square
#87A11F #1FA17A #391FA1 #A11F46
split-complementary
#87A11F #1F46A1 #7A1FA1
monochromatic
#313A0B #5C6E15 #87A11F #B2D429 #C5DF5B

Accessibility & contrast

On white

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

On black

7.15
#87A11F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A11F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A11F#FFFFFF#000000##000000
##87A11F1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A8972D
Tritanopia (blue-blind)
#8F9889
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #87a11f;
/* rgb */ color: rgb(135, 161, 31);
/* oklch */ color: oklch(66.6% 0.150 121.0);
Tailwind
colors: {
  custom: {
    50: '#aebc67',
    500: '#87a11f',
    950: '#000000',
  },
}
SCSS
$custom: #87a11f;
$custom-light: #aebc67;
$custom-dark: #000000;
JSON
{
  "hex": "#87a11f",
  "rgb": {
    "r": 135,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 72,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66607,
    "c": 0.14976,
    "h": 121
  },
  "luminance": 0.3074
}

Semantic roles & 50–950 ramp

primary
#87A11F
secondary
#6E58C4
accent
#3DEB60
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A11F

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

Preview Lab → · Contrast checker → · Palette generator →

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