#87A01C#87A01C

#87A01C is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 66.4% C 0.150 H 120.6°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#87A01C
RGBrgb(135, 160, 28)
HSLhsl(71, 70%, 37%)
HSVhsv(71, 83%, 63%)
CMYKcmyk(15.6%, 0%, 82.5%, 37.3%)
CIE-LABlab(61.98, -25.56, 59.36)
CIE-LCHlch(61.98, 64.63, 113.30°)
OKLaboklab(66.35% -0.0763 0.1291)
OKLCHoklch(66.35% 0.15 120.6)
XYZxyz(22.7725, 30.3764, 5.7619)
Luminance0.3038 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A01C #351CA0
analogous
#A0771C #87A01C #45A01C
triadic
#87A01C #1C87A0 #A01C87
tetradic
#87A01C #1CA077 #351CA0 #A01C45
square
#87A01C #1CA077 #351CA0 #A01C45
split-complementary
#87A01C #1C45A0 #771CA0
monochromatic
#2F380A #5B6C13 #87A01C #B3D425 #C7E155

Accessibility & contrast

On white

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

On black

7.08
#87A01C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A01C
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A01C#FFFFFF#000000##000000
##87A01C1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87a01c;
/* rgb */ color: rgb(135, 160, 28);
/* oklch */ color: oklch(66.4% 0.150 120.6);
Tailwind
colors: {
  custom: {
    50: '#aebc66',
    500: '#87a01c',
    950: '#000000',
  },
}
SCSS
$custom: #87a01c;
$custom-light: #aebc66;
$custom-dark: #000000;
JSON
{
  "hex": "#87a01c",
  "rgb": {
    "r": 135,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 71.364,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66353,
    "c": 0.14994,
    "h": 120.6
  },
  "luminance": 0.30376
}

Semantic roles & 50–950 ramp

primary
#87A01C
secondary
#6953C4
accent
#3BED5D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #87A01C

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

Preview Lab → · Contrast checker → · Palette generator →

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