#87A71D#87A71D

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

Color values

HEX#87A71D
RGBrgb(135, 167, 29)
HSLhsl(74, 70%, 38%)
HSVhsv(74, 83%, 65%)
CMYKcmyk(19.2%, 0%, 82.6%, 34.5%)
CIE-LABlab(64.06, -28.92, 60.92)
CIE-LCHlch(64.06, 67.44, 115.39°)
OKLaboklab(68.04% -0.0854 0.1326)
OKLCHoklch(68.04% 0.158 122.8)
XYZxyz(24.0325, 32.8769, 6.2419)
Luminance0.3288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A71D #3D1DA7
analogous
#A7821D #87A71D #42A71D
triadic
#87A71D #1D87A7 #A71D87
tetradic
#87A71D #1DA782 #3D1DA7 #A71D42
square
#87A71D #1DA782 #3D1DA7 #A71D42
split-complementary
#87A71D #1D42A7 #821DA7
monochromatic
#333F0B #5D7314 #87A71D #B0DA28 #C3E35C

Accessibility & contrast

On white

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

On black

7.58
#87A71D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A71D
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A71D#FFFFFF#000000##000000
##87A71D1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.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: #87a71d;
/* rgb */ color: rgb(135, 167, 29);
/* oklch */ color: oklch(68.0% 0.158 122.8);
Tailwind
colors: {
  custom: {
    50: '#aec167',
    500: '#87a71d',
    950: '#000000',
  },
}
SCSS
$custom: #87a71d;
$custom-light: #aec167;
$custom-dark: #000000;
JSON
{
  "hex": "#87a71d",
  "rgb": {
    "r": 135,
    "g": 167,
    "b": 29
  },
  "hsl": {
    "h": 73.913,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68037,
    "c": 0.1577,
    "h": 122.8
  },
  "luminance": 0.32877
}

Semantic roles & 50–950 ramp

primary
#87A71D
secondary
#7359C7
accent
#3BED64
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A71D

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

Preview Lab → · Contrast checker → · Palette generator →

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