#87CF38#87CF38

#87CF38 is a light, vivid yellow-green. Relative luminance 0.501; OKLCH L 77.9% C 0.192 H 132.0°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#87CF38
RGBrgb(135, 207, 56)
HSLhsl(89, 61%, 52%)
HSVhsv(89, 73%, 81%)
CMYKcmyk(34.8%, 0%, 72.9%, 18.8%)
CIE-LABlab(76.11, -45.53, 63.82)
CIE-LCHlch(76.11, 78.39, 125.50°)
OKLaboklab(77.87% -0.1285 0.143)
OKLCHoklch(77.87% 0.192 132)
XYZxyz(33.0179, 50.0608, 11.6636)
Luminance0.5006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87CF38 #8038CF
analogous
#CFCC38 #87CF38 #3CCF38
triadic
#87CF38 #3887CF #CF3887
tetradic
#87CF38 #38CFCC #8038CF #CF383C
square
#87CF38 #38CFCC #8038CF #CF383C
split-complementary
#87CF38 #383CCF #CC38CF
monochromatic
#48711B #68A327 #87CF38 #A5DB69 #C2E79B

Accessibility & contrast

On white

1.91
#87CF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#87CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87CF38
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87CF38#FFFFFF#000000##000000
##87CF381.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1A
Deuteranopia (green-blind)
#CEBA47
Tritanopia (blue-blind)
#89C6B2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #87cf38;
/* rgb */ color: rgb(135, 207, 56);
/* oklch */ color: oklch(77.9% 0.192 132.0);
Tailwind
colors: {
  custom: {
    50: '#afde79',
    500: '#87cf38',
    950: '#000000',
  },
}
SCSS
$custom: #87cf38;
$custom-light: #afde79;
$custom-dark: #000000;
JSON
{
  "hex": "#87cf38",
  "rgb": {
    "r": 135,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 88.609,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7787,
    "c": 0.19225,
    "h": 132
  },
  "luminance": 0.50062
}

Semantic roles & 50–950 ramp

primary
#87CF38
secondary
#54317A
accent
#44E490
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #87CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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