#87C431#87C431

#87C431 is a light, vivid yellow-green. Relative luminance 0.449; OKLCH L 75.2% C 0.183 H 130.0°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#87C431
RGBrgb(135, 196, 49)
HSLhsl(85, 60%, 48%)
HSVhsv(85, 75%, 77%)
CMYKcmyk(31.1%, 0%, 75%, 23.1%)
CIE-LABlab(72.79, -41.22, 62.96)
CIE-LCHlch(72.79, 75.25, 123.22°)
OKLaboklab(75.16% -0.1174 0.1401)
OKLCHoklch(75.16% 0.183 130)
XYZxyz(30.2858, 44.8516, 9.9667)
Luminance0.4485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87C431 #6E31C4
analogous
#C4B731 #87C431 #3DC431
triadic
#87C431 #3187C4 #C43187
tetradic
#87C431 #31C4B7 #6E31C4 #C4313D
square
#87C431 #31C4B7 #6E31C4 #C4313D
split-complementary
#87C431 #313DC4 #B731C4
monochromatic
#446219 #659325 #87C431 #A3D65C #BFE28D

Accessibility & contrast

On white

2.11
#87C431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#87C431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87C431
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87C431#FFFFFF#000000##000000
##87C4311.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB50F
Deuteranopia (green-blind)
#C5B140
Tritanopia (blue-blind)
#8BBBA8
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #87c431;
/* rgb */ color: rgb(135, 196, 49);
/* oklch */ color: oklch(75.2% 0.183 130.0);
Tailwind
colors: {
  custom: {
    50: '#afd674',
    500: '#87c431',
    950: '#000000',
  },
}
SCSS
$custom: #87c431;
$custom-light: #afd674;
$custom-dark: #000000;
JSON
{
  "hex": "#87c431",
  "rgb": {
    "r": 135,
    "g": 196,
    "b": 49
  },
  "hsl": {
    "h": 84.898,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.75157,
    "c": 0.18278,
    "h": 130
  },
  "luminance": 0.44853
}

Semantic roles & 50–950 ramp

primary
#87C431
secondary
#A284CD
accent
#45E386
background
#FBFDF7
surface
#F6FAED
border
#D0D3C8
text
#111409
muted
#80837B

Preview Lab

Preview with #87C431

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

Preview Lab → · Contrast checker → · Palette generator →

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