#87B738#87B738

#87B738 is a light, vivid yellow-green. Relative luminance 0.393; OKLCH L 72.1% C 0.162 H 128.0°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#87B738
RGBrgb(135, 183, 56)
HSLhsl(83, 53%, 47%)
HSVhsv(83, 69%, 72%)
CMYKcmyk(26.2%, 0%, 69.4%, 28.2%)
CIE-LABlab(68.97, -34.99, 56.66)
CIE-LCHlch(68.97, 66.59, 121.70°)
OKLaboklab(72.06% -0.0999 0.1279)
OKLCHoklch(72.06% 0.162 128)
XYZxyz(27.6390, 39.3028, 9.8706)
Luminance0.3930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B738 #6838B7
analogous
#B7A838 #87B738 #48B738
triadic
#87B738 #3887B7 #B73887
tetradic
#87B738 #38B7A8 #6838B7 #B73848
square
#87B738 #38B7A8 #6838B7 #B73848
split-complementary
#87B738 #3848B7 #A838B7
monochromatic
#42591B #64882A #87B738 #A4CE5E #BEDC8D

Accessibility & contrast

On white

2.37
#87B738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#87B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B738
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B738#FFFFFF#000000##000000
##87B7381.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA24
Deuteranopia (green-blind)
#B9A743
Tritanopia (blue-blind)
#8CAF9E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #87b738;
/* rgb */ color: rgb(135, 183, 56);
/* oklch */ color: oklch(72.1% 0.162 128.0);
Tailwind
colors: {
  custom: {
    50: '#aecd76',
    500: '#87b738',
    950: '#000000',
  },
}
SCSS
$custom: #87b738;
$custom-light: #aecd76;
$custom-dark: #000000;
JSON
{
  "hex": "#87b738",
  "rgb": {
    "r": 135,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 82.677,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72062,
    "c": 0.1623,
    "h": 128
  },
  "luminance": 0.39303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #87B738

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

Preview Lab → · Contrast checker → · Palette generator →

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