#87A031#87A031

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

Color values

HEX#87A031
RGBrgb(135, 160, 49)
HSLhsl(74, 53%, 41%)
HSVhsv(74, 69%, 63%)
CMYKcmyk(15.6%, 0%, 69.4%, 37.3%)
CIE-LABlab(62.10, -24.51, 52.38)
CIE-LCHlch(62.10, 57.83, 115.08°)
OKLaboklab(66.49% -0.0716 0.1179)
OKLCHoklch(66.49% 0.138 121.3)
XYZxyz(23.1172, 30.5143, 7.5771)
Luminance0.3051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A031 #4A31A0
analogous
#A08131 #87A031 #4FA031
triadic
#87A031 #3187A0 #A03187
tetradic
#87A031 #31A081 #4A31A0 #A0314F
square
#87A031 #31A081 #4A31A0 #A0314F
split-complementary
#87A031 #314FA0 #8131A0
monochromatic
#384214 #5F7123 #87A031 #AAC747 #C0D576

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A031#FFFFFF#000000##000000
##87A0311.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)
#AA9620
Deuteranopia (green-blind)
#A7963A
Tritanopia (blue-blind)
#8E988A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #87a031;
/* rgb */ color: rgb(135, 160, 49);
/* oklch */ color: oklch(66.5% 0.138 121.3);
Tailwind
colors: {
  custom: {
    50: '#adbc70',
    500: '#87a031',
    950: '#000000',
  },
}
SCSS
$custom: #87a031;
$custom-light: #adbc70;
$custom-dark: #000000;
JSON
{
  "hex": "#87a031",
  "rgb": {
    "r": 135,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 73.514,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66485,
    "c": 0.13798,
    "h": 121.3
  },
  "luminance": 0.30514
}

Semantic roles & 50–950 ramp

primary
#87A031
secondary
#8170BD
accent
#4BDD6C
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87A031

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

Preview Lab → · Contrast checker → · Palette generator →

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