#87A540#87A540

#87A540 is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.8% C 0.133 H 123.9°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#87A540
RGBrgb(135, 165, 64)
HSLhsl(78, 44%, 45%)
HSVhsv(78, 61%, 65%)
CMYKcmyk(18.2%, 0%, 61.2%, 35.3%)
CIE-LABlab(63.70, -25.87, 47.70)
CIE-LCHlch(63.70, 54.27, 118.47°)
OKLaboklab(67.82% -0.074 0.1102)
OKLCHoklch(67.82% 0.133 123.9)
XYZxyz(24.3724, 32.4312, 9.8253)
Luminance0.3243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A540 #5E40A5
analogous
#A59140 #87A540 #54A540
triadic
#87A540 #4087A5 #A54087
tetradic
#87A540 #40A591 #5E40A5 #A54054
square
#87A540 #40A591 #5E40A5 #A54054
split-complementary
#87A540 #4054A5 #9140A5
monochromatic
#3F4D1E #63792F #87A540 #A5C261 #BED38D

Accessibility & contrast

On white

2.81
#87A540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#87A540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A540
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A540#FFFFFF#000000##000000
##87A5401.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B34
Deuteranopia (green-blind)
#AA9A47
Tritanopia (blue-blind)
#8D9D90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a540;
/* rgb */ color: rgb(135, 165, 64);
/* oklch */ color: oklch(67.8% 0.133 123.9);
Tailwind
colors: {
  custom: {
    50: '#acbf79',
    500: '#87a540',
    950: '#000000',
  },
}
SCSS
$custom: #87a540;
$custom-light: #acbf79;
$custom-dark: #000000;
JSON
{
  "hex": "#87a540",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 77.822,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67817,
    "c": 0.13268,
    "h": 123.9
  },
  "luminance": 0.32431
}

Semantic roles & 50–950 ramp

primary
#87A540
secondary
#9583BE
accent
#54D47A
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #87A540

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

Preview Lab → · Contrast checker → · Palette generator →

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