#87B535#87B535

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

Color values

HEX#87B535
RGBrgb(135, 181, 53)
HSLhsl(82, 55%, 46%)
HSVhsv(82, 71%, 71%)
CMYKcmyk(25.4%, 0%, 70.7%, 29%)
CIE-LABlab(68.35, -34.27, 57.17)
CIE-LCHlch(68.35, 66.66, 120.94°)
OKLaboklab(71.56% -0.0981 0.1286)
OKLCHoklch(71.56% 0.162 127.4)
XYZxyz(27.1582, 38.4552, 9.3592)
Luminance0.3846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B535 #6335B5
analogous
#B5A335 #87B535 #47B535
triadic
#87B535 #3587B5 #B53587
tetradic
#87B535 #35B5A3 #6335B5 #B53547
square
#87B535 #35B5A3 #6335B5 #B53547
split-complementary
#87B535 #3547B5 #A335B5
monochromatic
#405619 #648627 #87B535 #A4CE59 #BEDC88

Accessibility & contrast

On white

2.42
#87B535 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#87B535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B535
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B535#FFFFFF#000000##000000
##87B5351.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87b535;
/* rgb */ color: rgb(135, 181, 53);
/* oklch */ color: oklch(71.6% 0.162 127.4);
Tailwind
colors: {
  custom: {
    50: '#aecb74',
    500: '#87b535',
    950: '#000000',
  },
}
SCSS
$custom: #87b535;
$custom-light: #aecb74;
$custom-dark: #000000;
JSON
{
  "hex": "#87b535",
  "rgb": {
    "r": 135,
    "g": 181,
    "b": 53
  },
  "hsl": {
    "h": 81.563,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71556,
    "c": 0.16176,
    "h": 127.4
  },
  "luminance": 0.38456
}

Semantic roles & 50–950 ramp

primary
#87B535
secondary
#9980C6
accent
#4ADE7F
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87B535

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

Preview Lab → · Contrast checker → · Palette generator →

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