#87A01F#87A01F

#87A01F 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#87A01F
RGBrgb(135, 160, 31)
HSLhsl(72, 68%, 37%)
HSVhsv(72, 81%, 63%)
CMYKcmyk(15.6%, 0%, 80.6%, 37.3%)
CIE-LABlab(61.99, -25.45, 58.53)
CIE-LCHlch(61.99, 63.82, 113.50°)
OKLaboklab(66.37% -0.0757 0.1278)
OKLCHoklch(66.37% 0.149 120.6)
XYZxyz(22.8102, 30.3915, 5.9605)
Luminance0.3039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A01F #381FA0
analogous
#A0791F #87A01F #46A01F
triadic
#87A01F #1F87A0 #A01F87
tetradic
#87A01F #1FA079 #381FA0 #A01F46
square
#87A01F #1FA079 #381FA0 #A01F46
split-complementary
#87A01F #1F46A0 #791FA0
monochromatic
#30390B #5C6D15 #87A01F #B2D329 #C5DF5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A01F#FFFFFF#000000##000000
##87A01F1.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)
#A7962C
Tritanopia (blue-blind)
#8F9789
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #87a01f;
/* rgb */ color: rgb(135, 160, 31);
/* oklch */ color: oklch(66.4% 0.149 120.6);
Tailwind
colors: {
  custom: {
    50: '#aebc67',
    500: '#87a01f',
    950: '#000000',
  },
}
SCSS
$custom: #87a01f;
$custom-light: #aebc67;
$custom-dark: #000000;
JSON
{
  "hex": "#87a01f",
  "rgb": {
    "r": 135,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 71.628,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66367,
    "c": 0.14858,
    "h": 120.6
  },
  "luminance": 0.30391
}

Semantic roles & 50–950 ramp

primary
#87A01F
secondary
#6D58C3
accent
#3DEA5F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A01F

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

Preview Lab → · Contrast checker → · Palette generator →

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