#87BA48#87BA48

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

Color values

HEX#87BA48
RGBrgb(135, 186, 72)
HSLhsl(87, 45%, 51%)
HSVhsv(87, 61%, 73%)
CMYKcmyk(27.4%, 0%, 61.3%, 27.1%)
CIE-LABlab(69.99, -35.13, 51.11)
CIE-LCHlch(69.99, 62.02, 124.50°)
OKLaboklab(72.93% -0.0989 0.1183)
OKLCHoklch(72.93% 0.154 129.9)
XYZxyz(28.7201, 40.7358, 12.4793)
Luminance0.4074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87BA48 #7B48BA
analogous
#BAB448 #87BA48 #4EBA48
triadic
#87BA48 #4887BA #BA4887
tetradic
#87BA48 #48BAB4 #7B48BA #BA484E
square
#87BA48 #48BAB4 #7B48BA #BA484E
split-complementary
#87BA48 #484EBA #B448BA
monochromatic
#476225 #678F36 #87BA48 #A4CB74 #C1DCA1

Accessibility & contrast

On white

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

On black

9.15
#87BA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87BA48
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87BA48#FFFFFF#000000##000000
##87BA481.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD3B
Deuteranopia (green-blind)
#BBAA50
Tritanopia (blue-blind)
#8AB2A2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #87ba48;
/* rgb */ color: rgb(135, 186, 72);
/* oklch */ color: oklch(72.9% 0.154 129.9);
Tailwind
colors: {
  custom: {
    50: '#adcf7f',
    500: '#87ba48',
    950: '#000000',
  },
}
SCSS
$custom: #87ba48;
$custom-light: #adcf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#87ba48",
  "rgb": {
    "r": 135,
    "g": 186,
    "b": 72
  },
  "hsl": {
    "h": 86.842,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72932,
    "c": 0.15419,
    "h": 129.9
  },
  "luminance": 0.40737
}

Semantic roles & 50–950 ramp

primary
#87BA48
secondary
#AC96C8
accent
#53D58D
background
#FAFCF8
surface
#F5F9EF
border
#CFD2CA
text
#11130A
muted
#80827C

Preview Lab

Preview with #87BA48

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

Preview Lab → · Contrast checker → · Palette generator →

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