#87A042#87A042

#87A042 is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.6% C 0.124 H 122.3°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#87A042
RGBrgb(135, 160, 66)
HSLhsl(76, 42%, 44%)
HSVhsv(76, 59%, 63%)
CMYKcmyk(15.6%, 0%, 58.8%, 37.3%)
CIE-LABlab(62.24, -23.22, 45.16)
CIE-LCHlch(62.24, 50.78, 117.21°)
OKLaboklab(66.65% -0.0664 0.105)
OKLCHoklch(66.65% 0.124 122.3)
XYZxyz(23.5460, 30.6858, 9.8357)
Luminance0.3069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A042 #5B42A0
analogous
#A08A42 #87A042 #58A042
triadic
#87A042 #4287A0 #A04287
tetradic
#87A042 #42A08A #5B42A0 #A04258
square
#87A042 #42A08A #5B42A0 #A04258
split-complementary
#87A042 #4258A0 #8A42A0
monochromatic
#3E491E #627530 #87A042 #A5BE61 #BED08D

Accessibility & contrast

On white

2.94
#87A042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#87A042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A042
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A042#FFFFFF#000000##000000
##87A0421.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99738
Deuteranopia (green-blind)
#A69648
Tritanopia (blue-blind)
#8D988C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #87a042;
/* rgb */ color: rgb(135, 160, 66);
/* oklch */ color: oklch(66.6% 0.124 122.3);
Tailwind
colors: {
  custom: {
    50: '#acbc7a',
    500: '#87a042',
    950: '#000000',
  },
}
SCSS
$custom: #87a042;
$custom-light: #acbc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#87a042",
  "rgb": {
    "r": 135,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 75.957,
    "s": 41.593,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6665,
    "c": 0.1242,
    "h": 122.3
  },
  "luminance": 0.30686
}

Semantic roles & 50–950 ramp

primary
#87A042
secondary
#9283BB
accent
#56D177
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #87A042

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

Preview Lab → · Contrast checker → · Palette generator →

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