#87AB3B#87AB3B

#87AB3B is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 69.2% C 0.145 H 125.3°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#87AB3B
RGBrgb(135, 171, 59)
HSLhsl(79, 49%, 45%)
HSVhsv(79, 65%, 67%)
CMYKcmyk(21.1%, 0%, 65.5%, 32.9%)
CIE-LABlab(65.43, -29.17, 51.76)
CIE-LCHlch(65.43, 59.41, 119.40°)
OKLaboklab(69.2% -0.0836 0.1181)
OKLCHoklch(69.2% 0.145 125.3)
XYZxyz(25.3441, 34.5922, 9.4786)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AB3B #5F3BAB
analogous
#AB973B #87AB3B #4FAB3B
triadic
#87AB3B #3B87AB #AB3B87
tetradic
#87AB3B #3BAB97 #5F3BAB #AB3B4F
square
#87AB3B #3BAB97 #5F3BAB #AB3B4F
split-complementary
#87AB3B #3B4FAB #973BAB
monochromatic
#3F501C #637D2B #87AB3B #A5C75C #BED78A

Accessibility & contrast

On white

2.65
#87AB3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#87AB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AB3B
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AB3B#FFFFFF#000000##000000
##87AB3B1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A02C
Deuteranopia (green-blind)
#AF9E44
Tritanopia (blue-blind)
#8DA394
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #87ab3b;
/* rgb */ color: rgb(135, 171, 59);
/* oklch */ color: oklch(69.2% 0.145 125.3);
Tailwind
colors: {
  custom: {
    50: '#adc477',
    500: '#87ab3b',
    950: '#000000',
  },
}
SCSS
$custom: #87ab3b;
$custom-light: #adc477;
$custom-dark: #000000;
JSON
{
  "hex": "#87ab3b",
  "rgb": {
    "r": 135,
    "g": 171,
    "b": 59
  },
  "hsl": {
    "h": 79.286,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69202,
    "c": 0.14465,
    "h": 125.3
  },
  "luminance": 0.34592
}

Semantic roles & 50–950 ramp

primary
#87AB3B
secondary
#9581C1
accent
#50D87B
background
#FAFCF7
surface
#F5F8ED
border
#CFD1C8
text
#111209
muted
#80817B

Preview Lab

Preview with #87AB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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