#87C538#87C538

#87C538 is a light, vivid yellow-green. Relative luminance 0.454; OKLCH L 75.4% C 0.180 H 130.5°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#87C538
RGBrgb(135, 197, 56)
HSLhsl(86, 56%, 50%)
HSVhsv(86, 72%, 77%)
CMYKcmyk(31.5%, 0%, 71.6%, 22.7%)
CIE-LABlab(73.13, -41.24, 60.87)
CIE-LCHlch(73.13, 73.52, 124.12°)
OKLaboklab(75.45% -0.1169 0.1368)
OKLCHoklch(75.45% 0.18 130.5)
XYZxyz(30.6715, 45.3679, 10.8815)
Luminance0.4537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87C538 #7638C5
analogous
#C5BD38 #87C538 #41C538
triadic
#87C538 #3887C5 #C53887
tetradic
#87C538 #38C5BD #7638C5 #C53841
square
#87C538 #38C5BD #7638C5 #C53841
split-complementary
#87C538 #3841C5 #BD38C5
monochromatic
#46661D #66952A #87C538 #A4D467 #C0E196

Accessibility & contrast

On white

2.08
#87C538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#87C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87C538
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87C538#FFFFFF#000000##000000
##87C5381.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB71F
Deuteranopia (green-blind)
#C5B245
Tritanopia (blue-blind)
#8ABDA9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #87c538;
/* rgb */ color: rgb(135, 197, 56);
/* oklch */ color: oklch(75.4% 0.180 130.5);
Tailwind
colors: {
  custom: {
    50: '#aed777',
    500: '#87c538',
    950: '#000000',
  },
}
SCSS
$custom: #87c538;
$custom-light: #aed777;
$custom-dark: #000000;
JSON
{
  "hex": "#87c538",
  "rgb": {
    "r": 135,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 86.383,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75447,
    "c": 0.17993,
    "h": 130.5
  },
  "luminance": 0.45369
}

Semantic roles & 50–950 ramp

primary
#87C538
secondary
#A98CCD
accent
#49DF8B
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#111409
muted
#80837B

Preview Lab

Preview with #87C538

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

Preview Lab → · Contrast checker → · Palette generator →

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