#87A45B#87A45B

#87A45B is a light, moderate yellow-green. Relative luminance 0.325; OKLCH L 67.9% C 0.104 H 126.7°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#87A45B
RGBrgb(135, 164, 91)
HSLhsl(84, 29%, 50%)
HSVhsv(84, 45%, 64%)
CMYKcmyk(17.7%, 0%, 44.5%, 35.7%)
CIE-LABlab(63.72, -22.59, 34.53)
CIE-LCHlch(63.72, 41.27, 123.20°)
OKLaboklab(67.94% -0.0625 0.0838)
OKLCHoklch(67.94% 0.105 126.7)
XYZxyz(25.1553, 32.4569, 14.8350)
Luminance0.3246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A45B #785BA4
analogous
#A49D5B #87A45B #62A45B
triadic
#87A45B #5B87A4 #A45B87
tetradic
#87A45B #5BA49D #785BA4 #A45B62
square
#87A45B #5BA49D #785BA4 #A45B62
split-complementary
#87A45B #5B62A4 #9D5BA4
monochromatic
#46552F #677D45 #87A45B #A4BA82 #C1D0AA

Accessibility & contrast

On white

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

On black

7.49
#87A45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A45B
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A45B#FFFFFF#000000##000000
##87A45B1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B55
Deuteranopia (green-blind)
#A79A5F
Tritanopia (blue-blind)
#8B9E93
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a45b;
/* rgb */ color: rgb(135, 164, 91);
/* oklch */ color: oklch(67.9% 0.104 126.7);
Tailwind
colors: {
  custom: {
    50: '#abbf8b',
    500: '#87a45b',
    950: '#000000',
  },
}
SCSS
$custom: #87a45b;
$custom-light: #abbf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#87a45b",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 91
  },
  "hsl": {
    "h": 83.836,
    "s": 28.627,
    "l": 50
  },
  "oklch": {
    "l": 0.67936,
    "c": 0.1045,
    "h": 126.7
  },
  "luminance": 0.32457
}

Semantic roles & 50–950 ramp

primary
#87A45B
secondary
#AA9DBE
accent
#63C58A
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#10120C
muted
#7F817D

Preview Lab

Preview with #87A45B

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

Preview Lab → · Contrast checker → · Palette generator →

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