#87A02E#87A02E

#87A02E is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.5% C 0.140 H 121.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#87A02E
RGBrgb(135, 160, 46)
HSLhsl(73, 55%, 40%)
HSVhsv(73, 71%, 63%)
CMYKcmyk(15.6%, 0%, 71.2%, 37.3%)
CIE-LABlab(62.07, -24.70, 53.53)
CIE-LCHlch(62.07, 58.95, 114.77°)
OKLaboklab(66.46% -0.0724 0.1199)
OKLCHoklch(66.46% 0.14 121.1)
XYZxyz(23.0560, 30.4898, 7.2547)
Luminance0.3049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A02E #472EA0
analogous
#A0802E #87A02E #4EA02E
triadic
#87A02E #2E87A0 #A02E87
tetradic
#87A02E #2EA080 #472EA0 #A02E4E
square
#87A02E #2EA080 #472EA0 #A02E4E
split-complementary
#87A02E #2E4EA0 #802EA0
monochromatic
#374113 #5F7020 #87A02E #ABC942 #C0D672

Accessibility & contrast

On white

2.96
#87A02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#87A02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A02E
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A02E#FFFFFF#000000##000000
##87A02E1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA961B
Deuteranopia (green-blind)
#A79637
Tritanopia (blue-blind)
#8E988A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #87a02e;
/* rgb */ color: rgb(135, 160, 46);
/* oklch */ color: oklch(66.5% 0.140 121.1);
Tailwind
colors: {
  custom: {
    50: '#adbc6e',
    500: '#87a02e',
    950: '#000000',
  },
}
SCSS
$custom: #87a02e;
$custom-light: #adbc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#87a02e",
  "rgb": {
    "r": 135,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 73.158,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66462,
    "c": 0.14004,
    "h": 121.1
  },
  "luminance": 0.3049
}

Semantic roles & 50–950 ramp

primary
#87A02E
secondary
#7E6CBE
accent
#49DF6A
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87A02E

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

Preview Lab → · Contrast checker → · Palette generator →

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