#87B336#87B336

#87B336 is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 71.1% C 0.159 H 127.0°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#87B336
RGBrgb(135, 179, 54)
HSLhsl(81, 54%, 46%)
HSVhsv(81, 70%, 70%)
CMYKcmyk(24.6%, 0%, 69.8%, 29.8%)
CIE-LABlab(67.77, -33.29, 56.20)
CIE-LCHlch(67.77, 65.32, 120.64°)
OKLaboklab(71.08% -0.0953 0.1267)
OKLCHoklch(71.08% 0.159 127)
XYZxyz(26.7777, 37.6570, 9.3470)
Luminance0.3766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B336 #6236B3
analogous
#B3A036 #87B336 #48B336
triadic
#87B336 #3687B3 #B33687
tetradic
#87B336 #36B3A0 #6236B3 #B33648
square
#87B336 #36B3A0 #6236B3 #B33648
split-complementary
#87B336 #3648B3 #A036B3
monochromatic
#40551A #648428 #87B336 #A4CD59 #BEDB88

Accessibility & contrast

On white

2.46
#87B336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#87B336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B336
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B336#FFFFFF#000000##000000
##87B3361.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA722
Deuteranopia (green-blind)
#B6A441
Tritanopia (blue-blind)
#8CAB9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87b336;
/* rgb */ color: rgb(135, 179, 54);
/* oklch */ color: oklch(71.1% 0.159 127.0);
Tailwind
colors: {
  custom: {
    50: '#adca74',
    500: '#87b336',
    950: '#000000',
  },
}
SCSS
$custom: #87b336;
$custom-light: #adca74;
$custom-dark: #000000;
JSON
{
  "hex": "#87b336",
  "rgb": {
    "r": 135,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 81.12,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71082,
    "c": 0.15856,
    "h": 127
  },
  "luminance": 0.37657
}

Semantic roles & 50–950 ramp

primary
#87B336
secondary
#9880C5
accent
#4BDD7E
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87B336

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

Preview Lab → · Contrast checker → · Palette generator →

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