#87A01B#87A01B

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

Color values

HEX#87A01B
RGBrgb(135, 160, 27)
HSLhsl(71, 71%, 37%)
HSVhsv(71, 83%, 63%)
CMYKcmyk(15.6%, 0%, 83.1%, 37.3%)
CIE-LABlab(61.97, -25.60, 59.62)
CIE-LCHlch(61.97, 64.88, 113.24°)
OKLaboklab(66.35% -0.0764 0.1295)
OKLCHoklch(66.35% 0.15 120.6)
XYZxyz(22.7608, 30.3717, 5.7000)
Luminance0.3037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A01B #341BA0
analogous
#A0771B #87A01B #45A01B
triadic
#87A01B #1B87A0 #A01B87
tetradic
#87A01B #1BA077 #341BA0 #A01B45
square
#87A01B #1BA077 #341BA0 #A01B45
split-complementary
#87A01B #1B45A0 #771BA0
monochromatic
#2F3709 #5B6C12 #87A01B #B3D424 #C7E253

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #87a01b;
/* rgb */ color: rgb(135, 160, 27);
/* oklch */ color: oklch(66.3% 0.150 120.6);
Tailwind
colors: {
  custom: {
    50: '#aebc66',
    500: '#87a01b',
    950: '#000000',
  },
}
SCSS
$custom: #87a01b;
$custom-light: #aebc66;
$custom-dark: #000000;
JSON
{
  "hex": "#87a01b",
  "rgb": {
    "r": 135,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 71.278,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66348,
    "c": 0.15037,
    "h": 120.6
  },
  "luminance": 0.30372
}

Semantic roles & 50–950 ramp

primary
#87A01B
secondary
#6752C5
accent
#3AEE5C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #87A01B

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

Preview Lab → · Contrast checker → · Palette generator →

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