#87A142#87A142

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

Color values

HEX#87A142
RGBrgb(135, 161, 66)
HSLhsl(76, 42%, 45%)
HSVhsv(76, 59%, 63%)
CMYKcmyk(16.1%, 0%, 59%, 36.9%)
CIE-LABlab(62.54, -23.72, 45.49)
CIE-LCHlch(62.54, 51.31, 117.54°)
OKLaboklab(66.89% -0.0678 0.1057)
OKLCHoklch(66.89% 0.126 122.7)
XYZxyz(23.7201, 31.0339, 9.8937)
Luminance0.3103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A142 #5C42A1
analogous
#A18C42 #87A142 #58A142
triadic
#87A142 #4287A1 #A14287
tetradic
#87A142 #42A18C #5C42A1 #A14258
square
#87A142 #42A18C #5C42A1 #A14258
split-complementary
#87A142 #4258A1 #8C42A1
monochromatic
#3E4A1E #637630 #87A142 #A5BF62 #BED08D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A142#FFFFFF#000000##000000
##87A1421.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)
#AA9838
Deuteranopia (green-blind)
#A69748
Tritanopia (blue-blind)
#8D998C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #87a142;
/* rgb */ color: rgb(135, 161, 66);
/* oklch */ color: oklch(66.9% 0.126 122.7);
Tailwind
colors: {
  custom: {
    50: '#acbc7a',
    500: '#87a142',
    950: '#000000',
  },
}
SCSS
$custom: #87a142;
$custom-light: #acbc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#87a142",
  "rgb": {
    "r": 135,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 76.421,
    "s": 41.85,
    "l": 44.51
  },
  "oklch": {
    "l": 0.66887,
    "c": 0.12555,
    "h": 122.7
  },
  "luminance": 0.31034
}

Semantic roles & 50–950 ramp

primary
#87A142
secondary
#9383BB
accent
#56D278
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #87A142

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

Preview Lab → · Contrast checker → · Palette generator →

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