#87C731#87C731

#87C731 is a light, vivid yellow-green. Relative luminance 0.462; OKLCH L 75.9% C 0.186 H 130.4°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#87C731
RGBrgb(135, 199, 49)
HSLhsl(86, 60%, 49%)
HSVhsv(86, 75%, 78%)
CMYKcmyk(32.2%, 0%, 75.4%, 22%)
CIE-LABlab(73.69, -42.52, 63.82)
CIE-LCHlch(73.69, 76.69, 123.68°)
OKLaboklab(75.88% -0.1209 0.1419)
OKLCHoklch(75.88% 0.186 130.4)
XYZxyz(30.9693, 46.2185, 10.1945)
Luminance0.4622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87C731 #7131C7
analogous
#C7BC31 #87C731 #3CC731
triadic
#87C731 #3187C7 #C73187
tetradic
#87C731 #31C7BC #7131C7 #C7313C
square
#87C731 #31C7BC #7131C7 #C7313C
split-complementary
#87C731 #313CC7 #BC31C7
monochromatic
#446519 #669625 #87C731 #A4D75E #BFE38F

Accessibility & contrast

On white

2.05
#87C731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#87C731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87C731
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87C731#FFFFFF#000000##000000
##87C7311.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B80D
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#8ABEAB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #87c731;
/* rgb */ color: rgb(135, 199, 49);
/* oklch */ color: oklch(75.9% 0.186 130.4);
Tailwind
colors: {
  custom: {
    50: '#afd874',
    500: '#87c731',
    950: '#000000',
  },
}
SCSS
$custom: #87c731;
$custom-light: #afd874;
$custom-dark: #000000;
JSON
{
  "hex": "#87c731",
  "rgb": {
    "r": 135,
    "g": 199,
    "b": 49
  },
  "hsl": {
    "h": 85.6,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.75884,
    "c": 0.18643,
    "h": 130.4
  },
  "luminance": 0.46219
}

Semantic roles & 50–950 ramp

primary
#87C731
secondary
#A586CE
accent
#44E488
background
#FBFDF7
surface
#F6FAED
border
#D0D3C8
text
#111409
muted
#80837B

Preview Lab

Preview with #87C731

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

Preview Lab → · Contrast checker → · Palette generator →

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