#87C231#87C231

#87C231 is a light, vivid yellow-green. Relative luminance 0.440; OKLCH L 74.7% C 0.180 H 129.6°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#87C231
RGBrgb(135, 194, 49)
HSLhsl(84, 60%, 48%)
HSVhsv(84, 75%, 76%)
CMYKcmyk(30.4%, 0%, 74.7%, 23.9%)
CIE-LABlab(72.20, -40.35, 62.38)
CIE-LCHlch(72.20, 74.30, 122.89°)
OKLaboklab(74.67% -0.115 0.1389)
OKLCHoklch(74.67% 0.18 129.6)
XYZxyz(29.8377, 43.9553, 9.8173)
Luminance0.4396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87C231 #6C31C2
analogous
#C2B531 #87C231 #3EC231
triadic
#87C231 #3187C2 #C23187
tetradic
#87C231 #31C2B5 #6C31C2 #C2313E
square
#87C231 #31C2B5 #6C31C2 #C2313E
split-complementary
#87C231 #313EC2 #B531C2
monochromatic
#436018 #659125 #87C231 #A4D65B #BFE28C

Accessibility & contrast

On white

2.14
#87C231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#87C231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87C231
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87C231#FFFFFF#000000##000000
##87C2311.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB411
Deuteranopia (green-blind)
#C3B03F
Tritanopia (blue-blind)
#8BB9A6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #87c231;
/* rgb */ color: rgb(135, 194, 49);
/* oklch */ color: oklch(74.7% 0.180 129.6);
Tailwind
colors: {
  custom: {
    50: '#afd474',
    500: '#87c231',
    950: '#000000',
  },
}
SCSS
$custom: #87c231;
$custom-light: #afd474;
$custom-dark: #000000;
JSON
{
  "hex": "#87c231",
  "rgb": {
    "r": 135,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 84.414,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74672,
    "c": 0.18034,
    "h": 129.6
  },
  "luminance": 0.43956
}

Semantic roles & 50–950 ramp

primary
#87C231
secondary
#A183CC
accent
#45E385
background
#FBFDF7
surface
#F6FAED
border
#D0D3C8
text
#111409
muted
#80837B

Preview Lab

Preview with #87C231

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

Preview Lab → · Contrast checker → · Palette generator →

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