#87A02F#87A02F

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

Color values

HEX#87A02F
RGBrgb(135, 160, 47)
HSLhsl(73, 55%, 41%)
HSVhsv(73, 71%, 63%)
CMYKcmyk(15.6%, 0%, 70.6%, 37.3%)
CIE-LABlab(62.08, -24.64, 53.15)
CIE-LCHlch(62.08, 58.59, 114.87°)
OKLaboklab(66.47% -0.0722 0.1192)
OKLCHoklch(66.47% 0.139 121.2)
XYZxyz(23.0759, 30.4978, 7.3597)
Luminance0.3050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A02F #482FA0
analogous
#A0802F #87A02F #4FA02F
triadic
#87A02F #2F87A0 #A02F87
tetradic
#87A02F #2FA080 #482FA0 #A02F4F
square
#87A02F #2FA080 #482FA0 #A02F4F
split-complementary
#87A02F #2F4FA0 #802FA0
monochromatic
#374113 #5F7121 #87A02F #ABC844 #C0D673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A02F#FFFFFF#000000##000000
##87A02F1.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)
#AA961D
Deuteranopia (green-blind)
#A79638
Tritanopia (blue-blind)
#8E988A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #87a02f;
/* rgb */ color: rgb(135, 160, 47);
/* oklch */ color: oklch(66.5% 0.139 121.2);
Tailwind
colors: {
  custom: {
    50: '#adbc6f',
    500: '#87a02f',
    950: '#000000',
  },
}
SCSS
$custom: #87a02f;
$custom-light: #adbc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#87a02f",
  "rgb": {
    "r": 135,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 73.274,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66469,
    "c": 0.13937,
    "h": 121.2
  },
  "luminance": 0.30498
}

Semantic roles & 50–950 ramp

primary
#87A02F
secondary
#7F6DBE
accent
#4ADE6B
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87A02F

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

Preview Lab → · Contrast checker → · Palette generator →

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