#87A545#87A545

#87A545 is a light, vivid yellow-green. Relative luminance 0.325; OKLCH L 67.9% C 0.128 H 124.3°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#87A545
RGBrgb(135, 165, 69)
HSLhsl(79, 41%, 46%)
HSVhsv(79, 58%, 65%)
CMYKcmyk(18.2%, 0%, 58.2%, 35.3%)
CIE-LABlab(63.75, -25.43, 45.46)
CIE-LCHlch(63.75, 52.09, 119.22°)
OKLaboklab(67.87% -0.0723 0.106)
OKLCHoklch(67.87% 0.128 124.3)
XYZxyz(24.5211, 32.4907, 10.6085)
Luminance0.3249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A545 #6345A5
analogous
#A59345 #87A545 #57A545
triadic
#87A545 #4587A5 #A54587
tetradic
#87A545 #45A593 #6345A5 #A54557
square
#87A545 #45A593 #6345A5 #A54557
split-complementary
#87A545 #4557A5 #9345A5
monochromatic
#404F21 #647A33 #87A545 #A4C068 #BED293

Accessibility & contrast

On white

2.80
#87A545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#87A545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A545
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A545#FFFFFF#000000##000000
##87A5451.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B3B
Deuteranopia (green-blind)
#A99A4B
Tritanopia (blue-blind)
#8D9E90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a545;
/* rgb */ color: rgb(135, 165, 69);
/* oklch */ color: oklch(67.9% 0.128 124.3);
Tailwind
colors: {
  custom: {
    50: '#acbf7c',
    500: '#87a545',
    950: '#000000',
  },
}
SCSS
$custom: #87a545;
$custom-light: #acbf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#87a545",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 78.75,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.67872,
    "c": 0.12825,
    "h": 124.3
  },
  "luminance": 0.32491
}

Semantic roles & 50–950 ramp

primary
#87A545
secondary
#9988BD
accent
#57D17D
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #87A545

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

Preview Lab → · Contrast checker → · Palette generator →

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