#87A45F#87A45F

#87A45F is a light, moderate yellow-green. Relative luminance 0.325; OKLCH L 68.0% C 0.100 H 127.5°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#87A45F
RGBrgb(135, 164, 95)
HSLhsl(85, 27%, 51%)
HSVhsv(85, 42%, 64%)
CMYKcmyk(17.7%, 0%, 42.1%, 35.7%)
CIE-LABlab(63.78, -22.09, 32.52)
CIE-LCHlch(63.78, 39.31, 124.19°)
OKLaboklab(68% -0.0608 0.0794)
OKLCHoklch(68% 0.1 127.5)
XYZxyz(25.3325, 32.5277, 15.7681)
Luminance0.3253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A45F #7C5FA4
analogous
#A49E5F #87A45F #64A45F
triadic
#87A45F #5F87A4 #A45F87
tetradic
#87A45F #5FA49E #7C5FA4 #A45F64
square
#87A45F #5FA49E #7C5FA4 #A45F64
split-complementary
#87A45F #5F64A4 #9E5FA4
monochromatic
#475732 #677E48 #87A45F #A4BA86 #C2D0AD

Accessibility & contrast

On white

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

On black

7.51
#87A45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A45F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A45F#FFFFFF#000000##000000
##87A45F1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9C5A
Deuteranopia (green-blind)
#A69A63
Tritanopia (blue-blind)
#8A9E93
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a45f;
/* rgb */ color: rgb(135, 164, 95);
/* oklch */ color: oklch(68.0% 0.100 127.5);
Tailwind
colors: {
  custom: {
    50: '#abbf8d',
    500: '#87a45f',
    950: '#000000',
  },
}
SCSS
$custom: #87a45f;
$custom-light: #abbf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#87a45f",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 95
  },
  "hsl": {
    "h": 85.217,
    "s": 27.49,
    "l": 50.784
  },
  "oklch": {
    "l": 0.68001,
    "c": 0.10003,
    "h": 127.5
  },
  "luminance": 0.32528
}

Semantic roles & 50–950 ramp

primary
#87A45F
secondary
#ADA0BF
accent
#64C48C
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#10120C
muted
#7F817D

Preview Lab

Preview with #87A45F

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

Preview Lab → · Contrast checker → · Palette generator →

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