#87A270#87A270

#87A270 is a light, moderate yellow-green. Relative luminance 0.322; OKLCH L 67.9% C 0.077 H 131.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#87A270
RGBrgb(135, 162, 112)
HSLhsl(92, 21%, 54%)
HSVhsv(92, 31%, 64%)
CMYKcmyk(16.7%, 0%, 30.9%, 36.5%)
CIE-LABlab(63.48, -18.68, 23.01)
CIE-LCHlch(63.48, 29.64, 129.06°)
OKLaboklab(67.85% -0.0507 0.0578)
OKLCHoklch(67.85% 0.077 131.2)
XYZxyz(25.8361, 32.1610, 20.1726)
Luminance0.3216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A270 #8B70A2
analogous
#A0A270 #87A270 #70A272
triadic
#87A270 #7087A2 #A27087
tetradic
#87A270 #70A0A2 #8B70A2 #A27270
square
#87A270 #70A0A2 #8B70A2 #A27270
split-complementary
#87A270 #7270A2 #A270A0
monochromatic
#4B5C3C #698154 #87A270 #A6BA95 #C5D2BA

Accessibility & contrast

On white

2.83
#87A270 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#87A270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A270
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A270#FFFFFF#000000##000000
##87A2701.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79B6D
Deuteranopia (green-blind)
#A29972
Tritanopia (blue-blind)
#889E95
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a270;
/* rgb */ color: rgb(135, 162, 112);
/* oklch */ color: oklch(67.9% 0.077 131.2);
Tailwind
colors: {
  custom: {
    50: '#aabd99',
    500: '#87a270',
    950: '#000000',
  },
}
SCSS
$custom: #87a270;
$custom-light: #aabd99;
$custom-dark: #000000;
JSON
{
  "hex": "#87a270",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 112
  },
  "hsl": {
    "h": 92.4,
    "s": 21.186,
    "l": 53.725
  },
  "oklch": {
    "l": 0.67852,
    "c": 0.07684,
    "h": 131.2
  },
  "luminance": 0.32161
}

Semantic roles & 50–950 ramp

primary
#87A270
secondary
#B8ACC2
accent
#6ABE97
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10120E
muted
#7F817E

Preview Lab

Preview with #87A270

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

Preview Lab → · Contrast checker → · Palette generator →

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