#87C931#87C931

#87C931 is a light, vivid yellow-green. Relative luminance 0.471; OKLCH L 76.4% C 0.189 H 130.7°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#87C931
RGBrgb(135, 201, 49)
HSLhsl(86, 61%, 49%)
HSVhsv(86, 76%, 79%)
CMYKcmyk(32.8%, 0%, 75.6%, 21.2%)
CIE-LABlab(74.28, -43.38, 64.39)
CIE-LCHlch(74.28, 77.64, 123.97°)
OKLaboklab(76.37% -0.1232 0.1431)
OKLCHoklch(76.37% 0.189 130.7)
XYZxyz(31.4325, 47.1448, 10.3489)
Luminance0.4715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87C931 #7331C9
analogous
#C9BF31 #87C931 #3BC931
triadic
#87C931 #3187C9 #C93187
tetradic
#87C931 #31C9BF #7331C9 #C9313B
square
#87C931 #31C9BF #7331C9 #C9313B
split-complementary
#87C931 #313BC9 #BF31C9
monochromatic
#456719 #669825 #87C931 #A4D85F #C0E490

Accessibility & contrast

On white

2.01
#87C931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#87C931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87C931
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87C931#FFFFFF#000000##000000
##87C9311.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA0B
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#8AC0AC
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #87c931;
/* rgb */ color: rgb(135, 201, 49);
/* oklch */ color: oklch(76.4% 0.189 130.7);
Tailwind
colors: {
  custom: {
    50: '#afda74',
    500: '#87c931',
    950: '#000000',
  },
}
SCSS
$custom: #87c931;
$custom-light: #afda74;
$custom-dark: #000000;
JSON
{
  "hex": "#87c931",
  "rgb": {
    "r": 135,
    "g": 201,
    "b": 49
  },
  "hsl": {
    "h": 86.053,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7637,
    "c": 0.18885,
    "h": 130.7
  },
  "luminance": 0.47146
}

Semantic roles & 50–950 ramp

primary
#87C931
secondary
#A687CF
accent
#44E489
background
#FBFDF7
surface
#F6FAED
border
#D0D3C8
text
#111509
muted
#80837B

Preview Lab

Preview with #87C931

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

Preview Lab → · Contrast checker → · Palette generator →

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