#87CC3B#87CC3B

#87CC3B is a light, vivid yellow-green. Relative luminance 0.487; OKLCH L 77.2% C 0.187 H 131.8°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#87CC3B
RGBrgb(135, 204, 59)
HSLhsl(89, 59%, 52%)
HSVhsv(89, 71%, 80%)
CMYKcmyk(33.8%, 0%, 71.1%, 20%)
CIE-LABlab(75.23, -44.07, 61.89)
CIE-LCHlch(75.23, 75.97, 125.45°)
OKLaboklab(77.16% -0.1244 0.1393)
OKLCHoklch(77.16% 0.187 131.8)
XYZxyz(32.3736, 48.6512, 11.8217)
Luminance0.4865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87CC3B #803BCC
analogous
#CCC93B #87CC3B #3FCC3B
triadic
#87CC3B #3B87CC #CC3B87
tetradic
#87CC3B #3BCCC9 #803BCC #CC3B3F
square
#87CC3B #3BCCC9 #803BCC #CC3B3F
split-complementary
#87CC3B #3B3FCC #C93BCC
monochromatic
#48701D #68A02A #87CC3B #A5D96C #C2E59C

Accessibility & contrast

On white

1.96
#87CC3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#87CC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87CC3B
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87CC3B#FFFFFF#000000##000000
##87CC3B1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD22
Deuteranopia (green-blind)
#CBB748
Tritanopia (blue-blind)
#89C4B0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #87cc3b;
/* rgb */ color: rgb(135, 204, 59);
/* oklch */ color: oklch(77.2% 0.187 131.8);
Tailwind
colors: {
  custom: {
    50: '#afdc7a',
    500: '#87cc3b',
    950: '#000000',
  },
}
SCSS
$custom: #87cc3b;
$custom-light: #afdc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#87cc3b",
  "rgb": {
    "r": 135,
    "g": 204,
    "b": 59
  },
  "hsl": {
    "h": 88.552,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77164,
    "c": 0.18677,
    "h": 131.8
  },
  "luminance": 0.48652
}

Semantic roles & 50–950 ramp

primary
#87CC3B
secondary
#B092D1
accent
#46E290
background
#FBFDF7
surface
#F6FBEE
border
#D0D4C9
text
#11150A
muted
#80837C

Preview Lab

Preview with #87CC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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