#87A242#87A242

#87A242 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 67.1% C 0.127 H 123.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#87A242
RGBrgb(135, 162, 66)
HSLhsl(77, 42%, 45%)
HSVhsv(77, 59%, 64%)
CMYKcmyk(16.7%, 0%, 59.3%, 36.5%)
CIE-LABlab(62.83, -24.22, 45.82)
CIE-LCHlch(62.83, 51.83, 117.86°)
OKLaboklab(67.13% -0.0692 0.1064)
OKLCHoklch(67.13% 0.127 123)
XYZxyz(23.8955, 31.3848, 9.9522)
Luminance0.3139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A242 #5D42A2
analogous
#A28D42 #87A242 #57A242
triadic
#87A242 #4287A2 #A24287
tetradic
#87A242 #42A28D #5D42A2 #A24257
square
#87A242 #42A28D #5D42A2 #A24257
split-complementary
#87A242 #4257A2 #8D42A2
monochromatic
#3F4B1F #637730 #87A242 #A5BF62 #BED18E

Accessibility & contrast

On white

2.89
#87A242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#87A242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A242
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A242#FFFFFF#000000##000000
##87A2421.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9938
Deuteranopia (green-blind)
#A79848
Tritanopia (blue-blind)
#8D9A8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #87a242;
/* rgb */ color: rgb(135, 162, 66);
/* oklch */ color: oklch(67.1% 0.127 123.0);
Tailwind
colors: {
  custom: {
    50: '#acbd7a',
    500: '#87a242',
    950: '#000000',
  },
}
SCSS
$custom: #87a242;
$custom-light: #acbd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#87a242",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 76.875,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67125,
    "c": 0.12689,
    "h": 123
  },
  "luminance": 0.31385
}

Semantic roles & 50–950 ramp

primary
#87A242
secondary
#9484BC
accent
#56D279
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #87A242

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

Preview Lab → · Contrast checker → · Palette generator →

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