#87A342#87A342

#87A342 is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 67.4% C 0.128 H 123.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#87A342
RGBrgb(135, 163, 66)
HSLhsl(77, 42%, 45%)
HSVhsv(77, 60%, 64%)
CMYKcmyk(17.2%, 0%, 59.5%, 36.1%)
CIE-LABlab(63.13, -24.71, 46.16)
CIE-LCHlch(63.13, 52.36, 118.17°)
OKLaboklab(67.36% -0.0705 0.1071)
OKLCHoklch(67.36% 0.128 123.4)
XYZxyz(24.0724, 31.7385, 10.0111)
Luminance0.3174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A342 #5E42A3
analogous
#A38F42 #87A342 #56A342
triadic
#87A342 #4287A3 #A34287
tetradic
#87A342 #42A38F #5E42A3 #A34256
square
#87A342 #42A38F #5E42A3 #A34256
split-complementary
#87A342 #4256A3 #8F42A3
monochromatic
#3F4C1F #637730 #87A342 #A5C063 #BED18E

Accessibility & contrast

On white

2.86
#87A342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#87A342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A342
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A342#FFFFFF#000000##000000
##87A3421.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A37
Deuteranopia (green-blind)
#A89948
Tritanopia (blue-blind)
#8D9B8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #87a342;
/* rgb */ color: rgb(135, 163, 66);
/* oklch */ color: oklch(67.4% 0.128 123.4);
Tailwind
colors: {
  custom: {
    50: '#acbe7a',
    500: '#87a342',
    950: '#000000',
  },
}
SCSS
$custom: #87a342;
$custom-light: #acbe7a;
$custom-dark: #000000;
JSON
{
  "hex": "#87a342",
  "rgb": {
    "r": 135,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 77.32,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67362,
    "c": 0.12824,
    "h": 123.4
  },
  "luminance": 0.31739
}

Semantic roles & 50–950 ramp

primary
#87A342
secondary
#9584BC
accent
#56D27A
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #87A342

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

Preview Lab → · Contrast checker → · Palette generator →

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