#87A71B#87A71B

#87A71B is a light, vivid yellow-green. Relative luminance 0.329; OKLCH L 68.0% C 0.159 H 122.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#87A71B
RGBrgb(135, 167, 27)
HSLhsl(74, 72%, 38%)
HSVhsv(74, 84%, 65%)
CMYKcmyk(19.2%, 0%, 83.8%, 34.5%)
CIE-LABlab(64.05, -28.99, 61.43)
CIE-LCHlch(64.05, 67.93, 115.26°)
OKLaboklab(68.03% -0.0857 0.1334)
OKLCHoklch(68.03% 0.159 122.7)
XYZxyz(24.0086, 32.8674, 6.1159)
Luminance0.3287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A71B #3B1BA7
analogous
#A7811B #87A71B #41A71B
triadic
#87A71B #1B87A7 #A71B87
tetradic
#87A71B #1BA781 #3B1BA7 #A71B41
square
#87A71B #1BA781 #3B1BA7 #A71B41
split-complementary
#87A71B #1B41A7 #811BA7
monochromatic
#323E0A #5C7212 #87A71B #B2DC24 #C4E458

Accessibility & contrast

On white

2.77
#87A71B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#87A71B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A71B
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A71B#FFFFFF#000000##000000
##87A71B1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AD9B2B
Tritanopia (blue-blind)
#8E9E8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #87a71b;
/* rgb */ color: rgb(135, 167, 27);
/* oklch */ color: oklch(68.0% 0.159 122.7);
Tailwind
colors: {
  custom: {
    50: '#aec167',
    500: '#87a71b',
    950: '#000000',
  },
}
SCSS
$custom: #87a71b;
$custom-light: #aec167;
$custom-dark: #000000;
JSON
{
  "hex": "#87a71b",
  "rgb": {
    "r": 135,
    "g": 167,
    "b": 27
  },
  "hsl": {
    "h": 73.714,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.68028,
    "c": 0.15851,
    "h": 122.7
  },
  "luminance": 0.32867
}

Semantic roles & 50–950 ramp

primary
#87A71B
secondary
#7056C8
accent
#39EF63
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A71B

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

Preview Lab → · Contrast checker → · Palette generator →

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