#87A040#87A040

#87A040 is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.6% C 0.126 H 122.2°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#87A040
RGBrgb(135, 160, 64)
HSLhsl(76, 43%, 44%)
HSVhsv(76, 60%, 63%)
CMYKcmyk(15.6%, 0%, 60%, 37.3%)
CIE-LABlab(62.22, -23.40, 46.06)
CIE-LCHlch(62.22, 51.67, 116.93°)
OKLaboklab(66.63% -0.0671 0.1067)
OKLCHoklch(66.63% 0.126 122.2)
XYZxyz(23.4881, 30.6626, 9.5306)
Luminance0.3066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A040 #5940A0
analogous
#A08940 #87A040 #57A040
triadic
#87A040 #4087A0 #A04087
tetradic
#87A040 #40A089 #5940A0 #A04057
square
#87A040 #40A089 #5940A0 #A04057
split-complementary
#87A040 #4057A0 #8940A0
monochromatic
#3D491D #62742F #87A040 #A6BF5E #BED08A

Accessibility & contrast

On white

2.94
#87A040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#87A040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A040
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A040#FFFFFF#000000##000000
##87A0401.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99735
Deuteranopia (green-blind)
#A69646
Tritanopia (blue-blind)
#8D988B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #87a040;
/* rgb */ color: rgb(135, 160, 64);
/* oklch */ color: oklch(66.6% 0.126 122.2);
Tailwind
colors: {
  custom: {
    50: '#acbc79',
    500: '#87a040',
    950: '#000000',
  },
}
SCSS
$custom: #87a040;
$custom-light: #acbc79;
$custom-dark: #000000;
JSON
{
  "hex": "#87a040",
  "rgb": {
    "r": 135,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 75.625,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66628,
    "c": 0.126,
    "h": 122.2
  },
  "luminance": 0.30663
}

Semantic roles & 50–950 ramp

primary
#87A040
secondary
#9081BB
accent
#55D376
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #87A040

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

Preview Lab → · Contrast checker → · Palette generator →

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