#87A131#87A131

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

Color values

HEX#87A131
RGBrgb(135, 161, 49)
HSLhsl(74, 53%, 41%)
HSVhsv(74, 70%, 63%)
CMYKcmyk(16.1%, 0%, 69.6%, 36.9%)
CIE-LABlab(62.39, -25.01, 52.68)
CIE-LCHlch(62.39, 58.32, 115.39°)
OKLaboklab(66.72% -0.073 0.1186)
OKLCHoklch(66.72% 0.139 121.6)
XYZxyz(23.2912, 30.8624, 7.6351)
Luminance0.3086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A131 #4B31A1
analogous
#A18331 #87A131 #4FA131
triadic
#87A131 #3187A1 #A13187
tetradic
#87A131 #31A183 #4B31A1 #A1314F
square
#87A131 #31A183 #4B31A1 #A1314F
split-complementary
#87A131 #314FA1 #8331A1
monochromatic
#384314 #607223 #87A131 #AAC748 #C0D677

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A131#FFFFFF#000000##000000
##87A1311.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)
#AB9720
Deuteranopia (green-blind)
#A7973A
Tritanopia (blue-blind)
#8E998B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #87a131;
/* rgb */ color: rgb(135, 161, 49);
/* oklch */ color: oklch(66.7% 0.139 121.6);
Tailwind
colors: {
  custom: {
    50: '#adbc70',
    500: '#87a131',
    950: '#000000',
  },
}
SCSS
$custom: #87a131;
$custom-light: #adbc70;
$custom-dark: #000000;
JSON
{
  "hex": "#87a131",
  "rgb": {
    "r": 135,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 73.929,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66724,
    "c": 0.13923,
    "h": 121.6
  },
  "luminance": 0.30862
}

Semantic roles & 50–950 ramp

primary
#87A131
secondary
#8270BE
accent
#4BDD6D
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87A131

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

Preview Lab → · Contrast checker → · Palette generator →

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