#87CB40#87CB40

#87CB40 is a light, vivid yellow-green. Relative luminance 0.482; OKLCH L 77.0% C 0.182 H 132.0°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#87CB40
RGBrgb(135, 203, 64)
HSLhsl(89, 57%, 52%)
HSVhsv(89, 68%, 80%)
CMYKcmyk(33.5%, 0%, 68.5%, 20.4%)
CIE-LABlab(74.97, -43.30, 59.75)
CIE-LCHlch(74.97, 73.79, 125.93°)
OKLaboklab(76.96% -0.1219 0.1356)
OKLCHoklch(76.96% 0.182 132)
XYZxyz(32.2726, 48.2317, 12.4587)
Luminance0.4823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87CB40 #8440CB
analogous
#CBCA40 #87CB40 #41CB40
triadic
#87CB40 #4087CB #CB4087
tetradic
#87CB40 #40CBCA #8440CB #CB4041
square
#87CB40 #40CBCA #8440CB #CB4041
split-complementary
#87CB40 #4041CB #CA40CB
monochromatic
#49721F #68A22C #87CB40 #A5D870 #C3E5A0

Accessibility & contrast

On white

1.97
#87CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#87CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87CB40
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87CB40#FFFFFF#000000##000000
##87CB401.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2B
Deuteranopia (green-blind)
#CAB74C
Tritanopia (blue-blind)
#89C3AF
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #87cb40;
/* rgb */ color: rgb(135, 203, 64);
/* oklch */ color: oklch(77.0% 0.182 132.0);
Tailwind
colors: {
  custom: {
    50: '#afdb7c',
    500: '#87cb40',
    950: '#000000',
  },
}
SCSS
$custom: #87cb40;
$custom-light: #afdb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#87cb40",
  "rgb": {
    "r": 135,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 89.353,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76961,
    "c": 0.1823,
    "h": 132
  },
  "luminance": 0.48233
}

Semantic roles & 50–950 ramp

primary
#87CB40
secondary
#B395D2
accent
#47E092
background
#FBFDF7
surface
#F6FBEE
border
#D0D4C9
text
#11150A
muted
#80837C

Preview Lab

Preview with #87CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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