#87B138#87B138

#87B138 is a light, vivid yellow-green. Relative luminance 0.369; OKLCH L 70.6% C 0.155 H 126.6°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#87B138
RGBrgb(135, 177, 56)
HSLhsl(81, 52%, 46%)
HSVhsv(81, 68%, 69%)
CMYKcmyk(23.7%, 0%, 68.4%, 30.6%)
CIE-LABlab(67.19, -32.22, 54.82)
CIE-LCHlch(67.19, 63.59, 120.44°)
OKLaboklab(70.62% -0.0922 0.1241)
OKLCHoklch(70.62% 0.155 126.6)
XYZxyz(26.4277, 36.8803, 9.4669)
Luminance0.3688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B138 #6238B1
analogous
#B19E38 #87B138 #4BB138
triadic
#87B138 #3887B1 #B13887
tetradic
#87B138 #38B19E #6238B1 #B1384B
square
#87B138 #38B19E #6238B1 #B1384B
split-complementary
#87B138 #384BB1 #9E38B1
monochromatic
#40541B #648329 #87B138 #A4CB5B #BEDA8A

Accessibility & contrast

On white

2.51
#87B138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#87B138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B138
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B138#FFFFFF#000000##000000
##87B1381.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA526
Deuteranopia (green-blind)
#B4A342
Tritanopia (blue-blind)
#8CA999
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87b138;
/* rgb */ color: rgb(135, 177, 56);
/* oklch */ color: oklch(70.6% 0.155 126.6);
Tailwind
colors: {
  custom: {
    50: '#adc875',
    500: '#87b138',
    950: '#000000',
  },
}
SCSS
$custom: #87b138;
$custom-light: #adc875;
$custom-dark: #000000;
JSON
{
  "hex": "#87b138",
  "rgb": {
    "r": 135,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 80.826,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70616,
    "c": 0.15463,
    "h": 126.6
  },
  "luminance": 0.36881
}

Semantic roles & 50–950 ramp

primary
#87B138
secondary
#9881C4
accent
#4CDB7E
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87B138

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

Preview Lab → · Contrast checker → · Palette generator →

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