#87A02B#87A02B

#87A02B is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.4% C 0.142 H 121.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#87A02B
RGBrgb(135, 160, 43)
HSLhsl(73, 58%, 40%)
HSVhsv(73, 73%, 63%)
CMYKcmyk(15.6%, 0%, 73.1%, 37.3%)
CIE-LABlab(62.06, -24.87, 54.63)
CIE-LCHlch(62.06, 60.03, 114.48°)
OKLaboklab(66.44% -0.0732 0.1217)
OKLCHoklch(66.44% 0.142 121)
XYZxyz(22.9989, 30.4670, 6.9541)
Luminance0.3047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A02B #442BA0
analogous
#A07F2B #87A02B #4CA02B
triadic
#87A02B #2B87A0 #A02B87
tetradic
#87A02B #2BA07F #442BA0 #A02B4C
square
#87A02B #2BA07F #442BA0 #A02B4C
split-complementary
#87A02B #2B4CA0 #7F2BA0
monochromatic
#364011 #5E701E #87A02B #ADCB3D #C1D86E

Accessibility & contrast

On white

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

On black

7.09
#87A02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A02B
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A02B#FFFFFF#000000##000000
##87A02B1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9615
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#8F9889
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #87a02b;
/* rgb */ color: rgb(135, 160, 43);
/* oklch */ color: oklch(66.4% 0.142 121.0);
Tailwind
colors: {
  custom: {
    50: '#adbc6d',
    500: '#87a02b',
    950: '#000000',
  },
}
SCSS
$custom: #87a02b;
$custom-light: #adbc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#87a02b",
  "rgb": {
    "r": 135,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 72.821,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6644,
    "c": 0.14199,
    "h": 121
  },
  "luminance": 0.30467
}

Semantic roles & 50–950 ramp

primary
#87A02B
secondary
#7B68BF
accent
#47E168
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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