#87BA2C#87BA2C

#87BA2C is a light, vivid yellow-green. Relative luminance 0.405; OKLCH L 72.7% C 0.173 H 127.9°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#87BA2C
RGBrgb(135, 186, 44)
HSLhsl(82, 62%, 45%)
HSVhsv(82, 76%, 73%)
CMYKcmyk(27.4%, 0%, 76.3%, 27.1%)
CIE-LABlab(69.79, -37.07, 61.72)
CIE-LCHlch(69.79, 72.00, 120.99°)
OKLaboklab(72.7% -0.1065 0.1367)
OKLCHoklch(72.7% 0.173 127.9)
XYZxyz(28.0052, 40.4499, 8.7145)
Luminance0.4045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87BA2C #5F2CBA
analogous
#BAA62C #87BA2C #40BA2C
triadic
#87BA2C #2C87BA #BA2C87
tetradic
#87BA2C #2CBAA6 #5F2CBA #BA2C40
square
#87BA2C #2CBAA6 #5F2CBA #BA2C40
split-complementary
#87BA2C #2C40BA #A62CBA
monochromatic
#3F5715 #638920 #87BA2C #A5D54E #BEE180

Accessibility & contrast

On white

2.31
#87BA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#87BA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87BA2C
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87BA2C#FFFFFF#000000##000000
##87BA2C1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD06
Deuteranopia (green-blind)
#BCA93A
Tritanopia (blue-blind)
#8CB19F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #87ba2c;
/* rgb */ color: rgb(135, 186, 44);
/* oklch */ color: oklch(72.7% 0.173 127.9);
Tailwind
colors: {
  custom: {
    50: '#aecf70',
    500: '#87ba2c',
    950: '#000000',
  },
}
SCSS
$custom: #87ba2c;
$custom-light: #aecf70;
$custom-dark: #000000;
JSON
{
  "hex": "#87ba2c",
  "rgb": {
    "r": 135,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 81.549,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72703,
    "c": 0.17329,
    "h": 127.9
  },
  "luminance": 0.40451
}

Semantic roles & 50–950 ramp

primary
#87BA2C
secondary
#9578CA
accent
#43E57D
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87BA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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