#87BA45#87BA45

#87BA45 is a light, vivid yellow-green. Relative luminance 0.407; OKLCH L 72.9% C 0.157 H 129.6°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#87BA45
RGBrgb(135, 186, 69)
HSLhsl(86, 46%, 50%)
HSVhsv(86, 63%, 73%)
CMYKcmyk(27.4%, 0%, 62.9%, 27.1%)
CIE-LABlab(69.96, -35.38, 52.39)
CIE-LCHlch(69.96, 63.22, 124.04°)
OKLaboklab(72.9% -0.0998 0.1207)
OKLCHoklch(72.9% 0.157 129.6)
XYZxyz(28.6246, 40.6976, 11.9764)
Luminance0.4070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87BA45 #7845BA
analogous
#BAB245 #87BA45 #4DBA45
triadic
#87BA45 #4587BA #BA4587
tetradic
#87BA45 #45BAB2 #7845BA #BA454D
square
#87BA45 #45BAB2 #7845BA #BA454D
split-complementary
#87BA45 #454DBA #B245BA
monochromatic
#466124 #678D34 #87BA45 #A4CB72 #C1DB9E

Accessibility & contrast

On white

2.30
#87BA45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#87BA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87BA45
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87BA45#FFFFFF#000000##000000
##87BA451.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD37
Deuteranopia (green-blind)
#BBAA4E
Tritanopia (blue-blind)
#8AB2A1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #87ba45;
/* rgb */ color: rgb(135, 186, 69);
/* oklch */ color: oklch(72.9% 0.157 129.6);
Tailwind
colors: {
  custom: {
    50: '#adcf7e',
    500: '#87ba45',
    950: '#000000',
  },
}
SCSS
$custom: #87ba45;
$custom-light: #adcf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#87ba45",
  "rgb": {
    "r": 135,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 86.154,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.72901,
    "c": 0.15662,
    "h": 129.6
  },
  "luminance": 0.40698
}

Semantic roles & 50–950 ramp

primary
#87BA45
secondary
#AA93C8
accent
#52D68B
background
#FAFCF7
surface
#F5F9EE
border
#CFD2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #87BA45

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

Preview Lab → · Contrast checker → · Palette generator →

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