#87BA3F#87BA3F

#87BA3F is a light, vivid yellow-green. Relative luminance 0.406; OKLCH L 72.8% C 0.161 H 129.1°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#87BA3F
RGBrgb(135, 186, 63)
HSLhsl(85, 49%, 49%)
HSVhsv(85, 66%, 73%)
CMYKcmyk(27.4%, 0%, 66.1%, 27.1%)
CIE-LABlab(69.91, -35.86, 54.85)
CIE-LCHlch(69.91, 65.54, 123.18°)
OKLaboklab(72.85% -0.1016 0.1251)
OKLCHoklch(72.85% 0.161 129.1)
XYZxyz(28.4477, 40.6269, 11.0446)
Luminance0.4063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87BA3F #723FBA
analogous
#BAB03F #87BA3F #4ABA3F
triadic
#87BA3F #3F87BA #BA3F87
tetradic
#87BA3F #3FBAB0 #723FBA #BA3F4A
square
#87BA3F #3FBAB0 #723FBA #BA3F4A
split-complementary
#87BA3F #3F4ABA #B03FBA
monochromatic
#455F20 #668C30 #87BA3F #A4CC6A #C0DC97

Accessibility & contrast

On white

2.30
#87BA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#87BA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87BA3F
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87BA3F#FFFFFF#000000##000000
##87BA3F1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD2E
Deuteranopia (green-blind)
#BCAA49
Tritanopia (blue-blind)
#8BB2A1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #87ba3f;
/* rgb */ color: rgb(135, 186, 63);
/* oklch */ color: oklch(72.8% 0.161 129.1);
Tailwind
colors: {
  custom: {
    50: '#adcf7a',
    500: '#87ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #87ba3f;
$custom-light: #adcf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#87ba3f",
  "rgb": {
    "r": 135,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 84.878,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72845,
    "c": 0.16121,
    "h": 129.1
  },
  "luminance": 0.40628
}

Semantic roles & 50–950 ramp

primary
#87BA3F
secondary
#A58DC8
accent
#4FD988
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #87BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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