#87CA2F#87CA2F

#87CA2F is a light, vivid yellow-green. Relative luminance 0.476; OKLCH L 76.6% C 0.191 H 130.8°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#87CA2F
RGBrgb(135, 202, 47)
HSLhsl(86, 62%, 49%)
HSVhsv(86, 77%, 79%)
CMYKcmyk(33.2%, 0%, 76.7%, 20.8%)
CIE-LABlab(74.57, -43.91, 65.29)
CIE-LCHlch(74.57, 78.69, 123.92°)
OKLaboklab(76.6% -0.1248 0.1447)
OKLCHoklch(76.6% 0.191 130.8)
XYZxyz(31.6251, 47.5961, 10.2095)
Luminance0.4760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87CA2F #722FCA
analogous
#CAC02F #87CA2F #3ACA2F
triadic
#87CA2F #2F87CA #CA2F87
tetradic
#87CA2F #2FCAC0 #722FCA #CA2F3A
square
#87CA2F #2FCAC0 #722FCA #CA2F3A
split-complementary
#87CA2F #2F3ACA #C02FCA
monochromatic
#456718 #669823 #87CA2F #A4D95D #C0E58F

Accessibility & contrast

On white

2.00
#87CA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#87CA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87CA2F
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87CA2F#FFFFFF#000000##000000
##87CA2F1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB02
Deuteranopia (green-blind)
#CAB63F
Tritanopia (blue-blind)
#8AC1AD
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #87ca2f;
/* rgb */ color: rgb(135, 202, 47);
/* oklch */ color: oklch(76.6% 0.191 130.8);
Tailwind
colors: {
  custom: {
    50: '#afda74',
    500: '#87ca2f',
    950: '#000000',
  },
}
SCSS
$custom: #87ca2f;
$custom-light: #afda74;
$custom-dark: #000000;
JSON
{
  "hex": "#87ca2f",
  "rgb": {
    "r": 135,
    "g": 202,
    "b": 47
  },
  "hsl": {
    "h": 85.935,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.766,
    "c": 0.1911,
    "h": 130.8
  },
  "luminance": 0.47597
}

Semantic roles & 50–950 ramp

primary
#87CA2F
secondary
#A586CF
accent
#42E589
background
#FBFDF7
surface
#F6FBED
border
#D0D4C8
text
#111509
muted
#80837B

Preview Lab

Preview with #87CA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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