#87B538#87B538

#87B538 is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.6% C 0.160 H 127.5°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#87B538
RGBrgb(135, 181, 56)
HSLhsl(82, 53%, 46%)
HSVhsv(82, 69%, 71%)
CMYKcmyk(25.4%, 0%, 69.1%, 29%)
CIE-LABlab(68.38, -34.08, 56.05)
CIE-LCHlch(68.38, 65.59, 121.30°)
OKLaboklab(71.58% -0.0973 0.1267)
OKLCHoklch(71.58% 0.16 127.5)
XYZxyz(27.2294, 38.4836, 9.7341)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B538 #6638B5
analogous
#B5A538 #87B538 #49B538
triadic
#87B538 #3887B5 #B53887
tetradic
#87B538 #38B5A5 #6638B5 #B53849
square
#87B538 #38B5A5 #6638B5 #B53849
split-complementary
#87B538 #3849B5 #A538B5
monochromatic
#41581B #64862A #87B538 #A4CD5D #BEDB8C

Accessibility & contrast

On white

2.41
#87B538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#87B538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B538
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B538#FFFFFF#000000##000000
##87B5381.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA925
Deuteranopia (green-blind)
#B8A642
Tritanopia (blue-blind)
#8CAD9C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #87b538;
/* rgb */ color: rgb(135, 181, 56);
/* oklch */ color: oklch(71.6% 0.160 127.5);
Tailwind
colors: {
  custom: {
    50: '#adcb76',
    500: '#87b538',
    950: '#000000',
  },
}
SCSS
$custom: #87b538;
$custom-light: #adcb76;
$custom-dark: #000000;
JSON
{
  "hex": "#87b538",
  "rgb": {
    "r": 135,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 82.08,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7158,
    "c": 0.15975,
    "h": 127.5
  },
  "luminance": 0.38484
}

Semantic roles & 50–950 ramp

primary
#87B538
secondary
#9C83C6
accent
#4CDC81
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87B538

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

Preview Lab → · Contrast checker → · Palette generator →

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