#87A145#87A145

#87A145 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.9% C 0.123 H 122.9°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#87A145
RGBrgb(135, 161, 69)
HSLhsl(77, 40%, 45%)
HSVhsv(77, 57%, 63%)
CMYKcmyk(16.1%, 0%, 57.1%, 36.9%)
CIE-LABlab(62.57, -23.45, 44.12)
CIE-LCHlch(62.57, 49.97, 117.99°)
OKLaboklab(66.92% -0.0667 0.1031)
OKLCHoklch(66.92% 0.123 122.9)
XYZxyz(23.8109, 31.0702, 10.3718)
Luminance0.3107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A145 #5F45A1
analogous
#A18D45 #87A145 #59A145
triadic
#87A145 #4587A1 #A14587
tetradic
#87A145 #45A18D #5F45A1 #A14559
square
#87A145 #45A18D #5F45A1 #A14559
split-complementary
#87A145 #4559A1 #8D45A1
monochromatic
#3F4B20 #637633 #87A145 #A5BD66 #BED091

Accessibility & contrast

On white

2.91
#87A145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#87A145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A145
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A145#FFFFFF#000000##000000
##87A1451.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA983C
Deuteranopia (green-blind)
#A6974B
Tritanopia (blue-blind)
#8D9A8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #87a145;
/* rgb */ color: rgb(135, 161, 69);
/* oklch */ color: oklch(66.9% 0.123 122.9);
Tailwind
colors: {
  custom: {
    50: '#acbc7c',
    500: '#87a145',
    950: '#000000',
  },
}
SCSS
$custom: #87a145;
$custom-light: #acbc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#87a145",
  "rgb": {
    "r": 135,
    "g": 161,
    "b": 69
  },
  "hsl": {
    "h": 76.957,
    "s": 40,
    "l": 45.098
  },
  "oklch": {
    "l": 0.66922,
    "c": 0.1228,
    "h": 122.9
  },
  "luminance": 0.3107
}

Semantic roles & 50–950 ramp

primary
#87A145
secondary
#9587BB
accent
#58D07A
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #87A145

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

Preview Lab → · Contrast checker → · Palette generator →

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