#87BA3A#87BA3A

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

Color values

HEX#87BA3A
RGBrgb(135, 186, 58)
HSLhsl(84, 52%, 48%)
HSVhsv(84, 69%, 73%)
CMYKcmyk(27.4%, 0%, 68.8%, 27.1%)
CIE-LABlab(69.88, -36.22, 56.81)
CIE-LCHlch(69.88, 67.38, 122.52°)
OKLaboklab(72.8% -0.1031 0.1286)
OKLCHoklch(72.8% 0.165 128.7)
XYZxyz(28.3142, 40.5735, 10.3419)
Luminance0.4057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87BA3A #6D3ABA
analogous
#BAAD3A #87BA3A #47BA3A
triadic
#87BA3A #3A87BA #BA3A87
tetradic
#87BA3A #3ABAAD #6D3ABA #BA3A47
square
#87BA3A #3ABAAD #6D3ABA #BA3A47
split-complementary
#87BA3A #3A47BA #AD3ABA
monochromatic
#435D1D #658B2B #87BA3A #A4CE63 #BFDD92

Accessibility & contrast

On white

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

On black

9.11
#87BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87BA3A
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87BA3A#FFFFFF#000000##000000
##87BA3A1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD27
Deuteranopia (green-blind)
#BCAA45
Tritanopia (blue-blind)
#8BB2A0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #87ba3a;
/* rgb */ color: rgb(135, 186, 58);
/* oklch */ color: oklch(72.8% 0.165 128.7);
Tailwind
colors: {
  custom: {
    50: '#aecf77',
    500: '#87ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #87ba3a;
$custom-light: #aecf77;
$custom-dark: #000000;
JSON
{
  "hex": "#87ba3a",
  "rgb": {
    "r": 135,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 83.906,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72802,
    "c": 0.16477,
    "h": 128.7
  },
  "luminance": 0.40574
}

Semantic roles & 50–950 ramp

primary
#87BA3A
secondary
#A188C8
accent
#4CDC85
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#111309
muted
#80827B

Preview Lab

Preview with #87BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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