#87B545#87B545

#87B545 is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.7% C 0.150 H 128.6°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#87B545
RGBrgb(135, 181, 69)
HSLhsl(85, 45%, 49%)
HSVhsv(85, 62%, 71%)
CMYKcmyk(25.4%, 0%, 61.9%, 29%)
CIE-LABlab(68.48, -33.08, 50.76)
CIE-LCHlch(68.48, 60.59, 123.09°)
OKLaboklab(71.7% -0.0935 0.1172)
OKLCHoklch(71.7% 0.15 128.6)
XYZxyz(27.5896, 38.6277, 11.6314)
Luminance0.3863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B545 #7345B5
analogous
#B5AB45 #87B545 #4FB545
triadic
#87B545 #4587B5 #B54587
tetradic
#87B545 #45B5AB #7345B5 #B5454F
square
#87B545 #45B5AB #7345B5 #B5454F
split-complementary
#87B545 #454FB5 #AB45B5
monochromatic
#455C23 #668934 #87B545 #A4C86F #C0D99B

Accessibility & contrast

On white

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

On black

8.73
#87B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B545
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B545#FFFFFF#000000##000000
##87B5451.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA938
Deuteranopia (green-blind)
#B7A64D
Tritanopia (blue-blind)
#8BAD9D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #87b545;
/* rgb */ color: rgb(135, 181, 69);
/* oklch */ color: oklch(71.7% 0.150 128.6);
Tailwind
colors: {
  custom: {
    50: '#adcb7d',
    500: '#87b545',
    950: '#000000',
  },
}
SCSS
$custom: #87b545;
$custom-light: #adcb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#87b545",
  "rgb": {
    "r": 135,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 84.643,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71699,
    "c": 0.14994,
    "h": 128.6
  },
  "luminance": 0.38628
}

Semantic roles & 50–950 ramp

primary
#87B545
secondary
#A691C5
accent
#53D588
background
#FAFCF7
surface
#F5F8EE
border
#CFD1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #87B545

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

Preview Lab → · Contrast checker → · Palette generator →

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