#87AB38#87AB38

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

Color values

HEX#87AB38
RGBrgb(135, 171, 56)
HSLhsl(79, 51%, 45%)
HSVhsv(79, 67%, 67%)
CMYKcmyk(21.1%, 0%, 67.3%, 32.9%)
CIE-LABlab(65.41, -29.39, 52.98)
CIE-LCHlch(65.41, 60.58, 119.02°)
OKLaboklab(69.18% -0.0844 0.1202)
OKLCHoklch(69.18% 0.147 125.1)
XYZxyz(25.2685, 34.5620, 9.0805)
Luminance0.3456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AB38 #5C38AB
analogous
#AB9638 #87AB38 #4DAB38
triadic
#87AB38 #3887AB #AB3887
tetradic
#87AB38 #38AB96 #5C38AB #AB384D
square
#87AB38 #38AB96 #5C38AB #AB384D
split-complementary
#87AB38 #384DAB #9638AB
monochromatic
#3E4F1A #637D29 #87AB38 #A5C858 #BED786

Accessibility & contrast

On white

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

On black

7.91
#87AB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AB38
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AB38#FFFFFF#000000##000000
##87AB381.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87ab38;
/* rgb */ color: rgb(135, 171, 56);
/* oklch */ color: oklch(69.2% 0.147 125.1);
Tailwind
colors: {
  custom: {
    50: '#adc475',
    500: '#87ab38',
    950: '#000000',
  },
}
SCSS
$custom: #87ab38;
$custom-light: #adc475;
$custom-dark: #000000;
JSON
{
  "hex": "#87ab38",
  "rgb": {
    "r": 135,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 78.783,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69175,
    "c": 0.14691,
    "h": 125.1
  },
  "luminance": 0.34562
}

Semantic roles & 50–950 ramp

primary
#87AB38
secondary
#937DC1
accent
#4EDA7A
background
#FAFCF7
surface
#F5F8ED
border
#CFD1C8
text
#111209
muted
#80817B

Preview Lab

Preview with #87AB38

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

Preview Lab → · Contrast checker → · Palette generator →

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