#87C531#87C531

#87C531 is a light, vivid yellow-green. Relative luminance 0.453; OKLCH L 75.4% C 0.184 H 130.1°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#87C531
RGBrgb(135, 197, 49)
HSLhsl(85, 60%, 48%)
HSVhsv(85, 75%, 77%)
CMYKcmyk(31.5%, 0%, 75.1%, 22.7%)
CIE-LABlab(73.09, -41.66, 63.24)
CIE-LCHlch(73.09, 75.73, 123.37°)
OKLaboklab(75.4% -0.1186 0.1407)
OKLCHoklch(75.4% 0.184 130.1)
XYZxyz(30.5121, 45.3042, 10.0421)
Luminance0.4531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87C531 #6F31C5
analogous
#C5B931 #87C531 #3DC531
triadic
#87C531 #3187C5 #C53187
tetradic
#87C531 #31C5B9 #6F31C5 #C5313D
square
#87C531 #31C5B9 #6F31C5 #C5313D
split-complementary
#87C531 #313DC5 #B931C5
monochromatic
#446319 #659425 #87C531 #A3D75D #BFE38E

Accessibility & contrast

On white

2.09
#87C531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#87C531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87C531
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87C531#FFFFFF#000000##000000
##87C5311.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB60E
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#8ABCA9
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #87c531;
/* rgb */ color: rgb(135, 197, 49);
/* oklch */ color: oklch(75.4% 0.184 130.1);
Tailwind
colors: {
  custom: {
    50: '#afd774',
    500: '#87c531',
    950: '#000000',
  },
}
SCSS
$custom: #87c531;
$custom-light: #afd774;
$custom-dark: #000000;
JSON
{
  "hex": "#87c531",
  "rgb": {
    "r": 135,
    "g": 197,
    "b": 49
  },
  "hsl": {
    "h": 85.135,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.75399,
    "c": 0.184,
    "h": 130.1
  },
  "luminance": 0.45305
}

Semantic roles & 50–950 ramp

primary
#87C531
secondary
#A385CD
accent
#44E387
background
#FBFDF7
surface
#F6FAED
border
#D0D3C8
text
#111409
muted
#80837B

Preview Lab

Preview with #87C531

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

Preview Lab → · Contrast checker → · Palette generator →

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