#87A71C#87A71C

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

Color values

HEX#87A71C
RGBrgb(135, 167, 28)
HSLhsl(74, 71%, 38%)
HSVhsv(74, 83%, 65%)
CMYKcmyk(19.2%, 0%, 83.2%, 34.5%)
CIE-LABlab(64.06, -28.96, 61.18)
CIE-LCHlch(64.06, 67.68, 115.33°)
OKLaboklab(68.03% -0.0855 0.133)
OKLCHoklch(68.03% 0.158 122.7)
XYZxyz(24.0204, 32.8721, 6.1779)
Luminance0.3287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A71C #3C1CA7
analogous
#A7811C #87A71C #41A71C
triadic
#87A71C #1C87A7 #A71C87
tetradic
#87A71C #1CA781 #3C1CA7 #A71C41
square
#87A71C #1CA781 #3C1CA7 #A71C41
split-complementary
#87A71C #1C41A7 #811CA7
monochromatic
#323E0A #5D7313 #87A71C #B1DB26 #C4E35A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A71C#FFFFFF#000000##000000
##87A71C1.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)
#AD9B2C
Tritanopia (blue-blind)
#8E9E8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #87a71c;
/* rgb */ color: rgb(135, 167, 28);
/* oklch */ color: oklch(68.0% 0.158 122.7);
Tailwind
colors: {
  custom: {
    50: '#aec167',
    500: '#87a71c',
    950: '#000000',
  },
}
SCSS
$custom: #87a71c;
$custom-light: #aec167;
$custom-dark: #000000;
JSON
{
  "hex": "#87a71c",
  "rgb": {
    "r": 135,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 73.813,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.68033,
    "c": 0.15811,
    "h": 122.7
  },
  "luminance": 0.32872
}

Semantic roles & 50–950 ramp

primary
#87A71C
secondary
#7158C7
accent
#3AEE63
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A71C

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

Preview Lab → · Contrast checker → · Palette generator →

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