#87B837#87B837

#87B837 is a light, vivid yellow-green. Relative luminance 0.397; OKLCH L 72.3% C 0.164 H 128.1°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#87B837
RGBrgb(135, 184, 55)
HSLhsl(83, 54%, 47%)
HSVhsv(83, 70%, 72%)
CMYKcmyk(26.6%, 0%, 70.1%, 27.8%)
CIE-LABlab(69.26, -35.52, 57.33)
CIE-LCHlch(69.26, 67.44, 121.78°)
OKLaboklab(72.3% -0.1014 0.1292)
OKLCHoklch(72.3% 0.164 128.1)
XYZxyz(27.8217, 39.7071, 9.8121)
Luminance0.3971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B837 #6837B8
analogous
#B8A937 #87B837 #46B837
triadic
#87B837 #3787B8 #B83787
tetradic
#87B837 #37B8A9 #6837B8 #B83746
square
#87B837 #37B8A9 #6837B8 #B83746
split-complementary
#87B837 #3746B8 #A937B8
monochromatic
#425A1B #648929 #87B837 #A4CF5D #BEDD8D

Accessibility & contrast

On white

2.35
#87B837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#87B837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B837
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B837#FFFFFF#000000##000000
##87B8371.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB22
Deuteranopia (green-blind)
#BAA842
Tritanopia (blue-blind)
#8CB09E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #87b837;
/* rgb */ color: rgb(135, 184, 55);
/* oklch */ color: oklch(72.3% 0.164 128.1);
Tailwind
colors: {
  custom: {
    50: '#aecd76',
    500: '#87b837',
    950: '#000000',
  },
}
SCSS
$custom: #87b837;
$custom-light: #aecd76;
$custom-dark: #000000;
JSON
{
  "hex": "#87b837",
  "rgb": {
    "r": 135,
    "g": 184,
    "b": 55
  },
  "hsl": {
    "h": 82.791,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72295,
    "c": 0.16424,
    "h": 128.1
  },
  "luminance": 0.39708
}

Semantic roles & 50–950 ramp

primary
#87B837
secondary
#9D84C7
accent
#4ADD82
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87B837

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

Preview Lab → · Contrast checker → · Palette generator →

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