#87C031#87C031

#87C031 is a light, vivid yellow-green. Relative luminance 0.431; OKLCH L 74.2% C 0.178 H 129.3°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#87C031
RGBrgb(135, 192, 49)
HSLhsl(84, 59%, 47%)
HSVhsv(84, 74%, 75%)
CMYKcmyk(29.7%, 0%, 74.5%, 24.7%)
CIE-LABlab(71.60, -39.47, 61.81)
CIE-LCHlch(71.60, 73.34, 122.56°)
OKLaboklab(74.19% -0.1126 0.1377)
OKLCHoklch(74.19% 0.178 129.3)
XYZxyz(29.3956, 43.0711, 9.6699)
Luminance0.4307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87C031 #6A31C0
analogous
#C0B231 #87C031 #40C031
triadic
#87C031 #3187C0 #C03187
tetradic
#87C031 #31C0B2 #6A31C0 #C03140
square
#87C031 #31C0B2 #6A31C0 #C03140
split-complementary
#87C031 #3140C0 #B231C0
monochromatic
#425E18 #658F25 #87C031 #A4D559 #BFE18A

Accessibility & contrast

On white

2.18
#87C031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#87C031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87C031
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87C031#FFFFFF#000000##000000
##87C0311.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B212
Deuteranopia (green-blind)
#C1AE3F
Tritanopia (blue-blind)
#8BB7A5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #87c031;
/* rgb */ color: rgb(135, 192, 49);
/* oklch */ color: oklch(74.2% 0.178 129.3);
Tailwind
colors: {
  custom: {
    50: '#aed373',
    500: '#87c031',
    950: '#000000',
  },
}
SCSS
$custom: #87c031;
$custom-light: #aed373;
$custom-dark: #000000;
JSON
{
  "hex": "#87c031",
  "rgb": {
    "r": 135,
    "g": 192,
    "b": 49
  },
  "hsl": {
    "h": 83.916,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.74187,
    "c": 0.17789,
    "h": 129.3
  },
  "luminance": 0.43072
}

Semantic roles & 50–950 ramp

primary
#87C031
secondary
#9F82CB
accent
#45E384
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111409
muted
#80827B

Preview Lab

Preview with #87C031

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

Preview Lab → · Contrast checker → · Palette generator →

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