#87A01D#87A01D

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

Color values

HEX#87A01D
RGBrgb(135, 160, 29)
HSLhsl(71, 69%, 37%)
HSVhsv(71, 82%, 63%)
CMYKcmyk(15.6%, 0%, 81.9%, 37.3%)
CIE-LABlab(61.98, -25.53, 59.09)
CIE-LCHlch(61.98, 64.36, 113.36°)
OKLaboklab(66.36% -0.0761 0.1287)
OKLCHoklch(66.36% 0.15 120.6)
XYZxyz(22.7847, 30.3813, 5.8260)
Luminance0.3038 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A01D #361DA0
analogous
#A0771D #87A01D #46A01D
triadic
#87A01D #1D87A0 #A01D87
tetradic
#87A01D #1DA077 #361DA0 #A01D46
square
#87A01D #1DA077 #361DA0 #A01D46
split-complementary
#87A01D #1D46A0 #771DA0
monochromatic
#30380A #5B6C14 #87A01D #B3D426 #C6E157

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A01D#FFFFFF#000000##000000
##87A01D1.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)
#A7962B
Tritanopia (blue-blind)
#8F9788
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #87a01d;
/* rgb */ color: rgb(135, 160, 29);
/* oklch */ color: oklch(66.4% 0.149 120.6);
Tailwind
colors: {
  custom: {
    50: '#aebc66',
    500: '#87a01d',
    950: '#000000',
  },
}
SCSS
$custom: #87a01d;
$custom-light: #aebc66;
$custom-dark: #000000;
JSON
{
  "hex": "#87a01d",
  "rgb": {
    "r": 135,
    "g": 160,
    "b": 29
  },
  "hsl": {
    "h": 71.45,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66357,
    "c": 0.1495,
    "h": 120.6
  },
  "luminance": 0.30381
}

Semantic roles & 50–950 ramp

primary
#87A01D
secondary
#6A55C4
accent
#3CEC5D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #87A01D

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

Preview Lab → · Contrast checker → · Palette generator →

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