#87A457#87A457

#87A457 is a light, moderate yellow-green. Relative luminance 0.324; OKLCH L 67.9% C 0.109 H 126.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#87A457
RGBrgb(135, 164, 87)
HSLhsl(83, 31%, 49%)
HSVhsv(83, 47%, 64%)
CMYKcmyk(17.7%, 0%, 47%, 35.7%)
CIE-LABlab(63.66, -23.07, 36.53)
CIE-LCHlch(63.66, 43.20, 122.28°)
OKLaboklab(67.87% -0.0641 0.088)
OKLCHoklch(67.87% 0.109 126.1)
XYZxyz(24.9873, 32.3897, 13.9504)
Luminance0.3239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A457 #7457A4
analogous
#A49B57 #87A457 #61A457
triadic
#87A457 #5787A4 #A45787
tetradic
#87A457 #57A49B #7457A4 #A45761
square
#87A457 #57A49B #7457A4 #A45761
split-complementary
#87A457 #5761A4 #9B57A4
monochromatic
#45542D #667C42 #87A457 #A4BA7E #C0D0A6

Accessibility & contrast

On white

2.81
#87A457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#87A457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A457
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A457#FFFFFF#000000##000000
##87A4571.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B51
Deuteranopia (green-blind)
#A79A5B
Tritanopia (blue-blind)
#8B9E92
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a457;
/* rgb */ color: rgb(135, 164, 87);
/* oklch */ color: oklch(67.9% 0.109 126.1);
Tailwind
colors: {
  custom: {
    50: '#abbf88',
    500: '#87a457',
    950: '#000000',
  },
}
SCSS
$custom: #87a457;
$custom-light: #abbf88;
$custom-dark: #000000;
JSON
{
  "hex": "#87a457",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 87
  },
  "hsl": {
    "h": 82.597,
    "s": 30.677,
    "l": 49.216
  },
  "oklch": {
    "l": 0.67874,
    "c": 0.10887,
    "h": 126.1
  },
  "luminance": 0.3239
}

Semantic roles & 50–950 ramp

primary
#87A457
secondary
#A799BD
accent
#61C787
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#10120B
muted
#7F817C

Preview Lab

Preview with #87A457

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

Preview Lab → · Contrast checker → · Palette generator →

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