#87A017#87A017

#87A017 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 66.3% C 0.152 H 120.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#87A017
RGBrgb(135, 160, 23)
HSLhsl(71, 75%, 36%)
HSVhsv(71, 86%, 63%)
CMYKcmyk(15.6%, 0%, 85.6%, 37.3%)
CIE-LABlab(61.96, -25.73, 60.60)
CIE-LCHlch(61.96, 65.84, 113.01°)
OKLaboklab(66.33% -0.077 0.1309)
OKLCHoklch(66.33% 0.152 120.5)
XYZxyz(22.7176, 30.3544, 5.4726)
Luminance0.3035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A017 #3017A0
analogous
#A07417 #87A017 #42A017
triadic
#87A017 #1787A0 #A01787
tetradic
#87A017 #17A074 #3017A0 #A01742
square
#87A017 #17A074 #3017A0 #A01742
split-complementary
#87A017 #1742A0 #7417A0
monochromatic
#2D3508 #5A6A0F #87A017 #B4D61F #C9E54C

Accessibility & contrast

On white

2.97
#87A017 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#87A017 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A017
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A017#FFFFFF#000000##000000
##87A0171.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A89627
Tritanopia (blue-blind)
#8F9788
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #87a017;
/* rgb */ color: rgb(135, 160, 23);
/* oklch */ color: oklch(66.3% 0.152 120.5);
Tailwind
colors: {
  custom: {
    50: '#aebc64',
    500: '#87a017',
    950: '#000000',
  },
}
SCSS
$custom: #87a017;
$custom-light: #aebc64;
$custom-dark: #000000;
JSON
{
  "hex": "#87a017",
  "rgb": {
    "r": 135,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 70.949,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.66331,
    "c": 0.15193,
    "h": 120.5
  },
  "luminance": 0.30354
}

Semantic roles & 50–950 ramp

primary
#87A017
secondary
#624CC7
accent
#36F158
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #87A017

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

Preview Lab → · Contrast checker → · Palette generator →

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