#87A241#87A241

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

Color values

HEX#87A241
RGBrgb(135, 162, 65)
HSLhsl(77, 43%, 45%)
HSVhsv(77, 60%, 64%)
CMYKcmyk(16.7%, 0%, 59.9%, 36.5%)
CIE-LABlab(62.82, -24.31, 46.27)
CIE-LCHlch(62.82, 52.27, 117.71°)
OKLaboklab(67.11% -0.0695 0.1072)
OKLCHoklch(67.11% 0.128 123)
XYZxyz(23.8663, 31.3731, 9.7983)
Luminance0.3137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A241 #5C41A2
analogous
#A28D41 #87A241 #57A241
triadic
#87A241 #4187A2 #A24187
tetradic
#87A241 #41A28D #5C41A2 #A24157
square
#87A241 #41A28D #5C41A2 #A24157
split-complementary
#87A241 #4157A2 #8D41A2
monochromatic
#3E4B1E #63762F #87A241 #A5BF61 #BED18C

Accessibility & contrast

On white

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

On black

7.27
#87A241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A241
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A241#FFFFFF#000000##000000
##87A2411.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87a241;
/* rgb */ color: rgb(135, 162, 65);
/* oklch */ color: oklch(67.1% 0.128 123.0);
Tailwind
colors: {
  custom: {
    50: '#acbd79',
    500: '#87a241',
    950: '#000000',
  },
}
SCSS
$custom: #87a241;
$custom-light: #acbd79;
$custom-dark: #000000;
JSON
{
  "hex": "#87a241",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 65
  },
  "hsl": {
    "h": 76.701,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67114,
    "c": 0.12779,
    "h": 123
  },
  "luminance": 0.31373
}

Semantic roles & 50–950 ramp

primary
#87A241
secondary
#9383BC
accent
#55D378
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #87A241

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

Preview Lab → · Contrast checker → · Palette generator →

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