#87B345#87B345

#87B345 is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 71.2% C 0.147 H 128.1°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#87B345
RGBrgb(135, 179, 69)
HSLhsl(84, 44%, 49%)
HSVhsv(84, 61%, 70%)
CMYKcmyk(24.6%, 0%, 61.5%, 29.8%)
CIE-LABlab(67.89, -32.15, 50.10)
CIE-LCHlch(67.89, 59.53, 122.69°)
OKLaboklab(71.22% -0.0909 0.1159)
OKLCHoklch(71.22% 0.147 128.1)
XYZxyz(27.1859, 37.8202, 11.4968)
Luminance0.3782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B345 #7145B3
analogous
#B3A845 #87B345 #50B345
triadic
#87B345 #4587B3 #B34587
tetradic
#87B345 #45B3A8 #7145B3 #B34550
square
#87B345 #45B3A8 #7145B3 #B34550
split-complementary
#87B345 #4550B3 #A845B3
monochromatic
#445B23 #668734 #87B345 #A4C76E #BFD89A

Accessibility & contrast

On white

2.45
#87B345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#87B345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B345
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B345#FFFFFF#000000##000000
##87B3451.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA738
Deuteranopia (green-blind)
#B5A54D
Tritanopia (blue-blind)
#8BAB9C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87b345;
/* rgb */ color: rgb(135, 179, 69);
/* oklch */ color: oklch(71.2% 0.147 128.1);
Tailwind
colors: {
  custom: {
    50: '#adca7d',
    500: '#87b345',
    950: '#000000',
  },
}
SCSS
$custom: #87b345;
$custom-light: #adca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#87b345",
  "rgb": {
    "r": 135,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 84,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71219,
    "c": 0.14725,
    "h": 128.1
  },
  "luminance": 0.37821
}

Semantic roles & 50–950 ramp

primary
#87B345
secondary
#A58FC4
accent
#54D487
background
#FAFCF7
surface
#F5F8EE
border
#CFD1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #87B345

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

Preview Lab → · Contrast checker → · Palette generator →

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