#87A71F#87A71F

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

Color values

HEX#87A71F
RGBrgb(135, 167, 31)
HSLhsl(74, 69%, 39%)
HSVhsv(74, 81%, 65%)
CMYKcmyk(19.2%, 0%, 81.4%, 34.5%)
CIE-LABlab(64.07, -28.84, 60.38)
CIE-LCHlch(64.07, 66.92, 115.53°)
OKLaboklab(68.05% -0.085 0.1318)
OKLCHoklch(68.05% 0.157 122.8)
XYZxyz(24.0581, 32.8871, 6.3765)
Luminance0.3289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A71F #3F1FA7
analogous
#A7831F #87A71F #43A71F
triadic
#87A71F #1F87A7 #A71F87
tetradic
#87A71F #1FA783 #3F1FA7 #A71F43
square
#87A71F #1FA783 #3F1FA7 #A71F43
split-complementary
#87A71F #1F43A7 #831FA7
monochromatic
#34400C #5D7315 #87A71F #AFD82B #C3E15F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #87a71f;
/* rgb */ color: rgb(135, 167, 31);
/* oklch */ color: oklch(68.0% 0.157 122.8);
Tailwind
colors: {
  custom: {
    50: '#aec168',
    500: '#87a71f',
    950: '#000000',
  },
}
SCSS
$custom: #87a71f;
$custom-light: #aec168;
$custom-dark: #000000;
JSON
{
  "hex": "#87a71f",
  "rgb": {
    "r": 135,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 74.118,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68046,
    "c": 0.15682,
    "h": 122.8
  },
  "luminance": 0.32887
}

Semantic roles & 50–950 ramp

primary
#87A71F
secondary
#755CC6
accent
#3CEC66
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A71F

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

Preview Lab → · Contrast checker → · Palette generator →

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