#87A71E#87A71E

#87A71E 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#87A71E
RGBrgb(135, 167, 30)
HSLhsl(74, 70%, 39%)
HSVhsv(74, 82%, 65%)
CMYKcmyk(19.2%, 0%, 82%, 34.5%)
CIE-LABlab(64.07, -28.88, 60.66)
CIE-LCHlch(64.07, 67.18, 115.46°)
OKLaboklab(68.04% -0.0852 0.1322)
OKLCHoklch(68.04% 0.157 122.8)
XYZxyz(24.0451, 32.8820, 6.3081)
Luminance0.3288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A71E #3E1EA7
analogous
#A7821E #87A71E #42A71E
triadic
#87A71E #1E87A7 #A71E87
tetradic
#87A71E #1EA782 #3E1EA7 #A71E42
square
#87A71E #1EA782 #3E1EA7 #A71E42
split-complementary
#87A71E #1E42A7 #821EA7
monochromatic
#333F0B #5D7315 #87A71E #B0D92A #C3E25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #87a71e;
/* rgb */ color: rgb(135, 167, 30);
/* oklch */ color: oklch(68.0% 0.157 122.8);
Tailwind
colors: {
  custom: {
    50: '#aec168',
    500: '#87a71e',
    950: '#000000',
  },
}
SCSS
$custom: #87a71e;
$custom-light: #aec168;
$custom-dark: #000000;
JSON
{
  "hex": "#87a71e",
  "rgb": {
    "r": 135,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 74.015,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68042,
    "c": 0.15727,
    "h": 122.8
  },
  "luminance": 0.32882
}

Semantic roles & 50–950 ramp

primary
#87A71E
secondary
#745BC6
accent
#3BEC65
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A71E

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

Preview Lab → · Contrast checker → · Palette generator →

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