#87A256#87A256

#87A256 is a light, moderate yellow-green. Relative luminance 0.317; OKLCH L 67.4% C 0.107 H 125.2°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#87A256
RGBrgb(135, 162, 86)
HSLhsl(81, 31%, 49%)
HSVhsv(81, 47%, 64%)
CMYKcmyk(16.7%, 0%, 46.9%, 36.5%)
CIE-LABlab(63.06, -22.19, 36.30)
CIE-LCHlch(63.06, 42.54, 121.43°)
OKLaboklab(67.39% -0.0617 0.0874)
OKLCHoklch(67.39% 0.107 125.2)
XYZxyz(24.5916, 31.6632, 13.6183)
Luminance0.3166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A256 #7156A2
analogous
#A29756 #87A256 #61A256
triadic
#87A256 #5687A2 #A25687
tetradic
#87A256 #56A297 #7156A2 #A25661
square
#87A256 #56A297 #7156A2 #A25661
split-complementary
#87A256 #5661A2 #9756A2
monochromatic
#44522C #667A41 #87A256 #A4B97C #BFCFA4

Accessibility & contrast

On white

2.86
#87A256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#87A256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A256
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A256#FFFFFF#000000##000000
##87A2561.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99A50
Deuteranopia (green-blind)
#A5985A
Tritanopia (blue-blind)
#8B9C90
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #87a256;
/* rgb */ color: rgb(135, 162, 86);
/* oklch */ color: oklch(67.4% 0.107 125.2);
Tailwind
colors: {
  custom: {
    50: '#abbd87',
    500: '#87a256',
    950: '#000000',
  },
}
SCSS
$custom: #87a256;
$custom-light: #abbd87;
$custom-dark: #000000;
JSON
{
  "hex": "#87a256",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 86
  },
  "hsl": {
    "h": 81.316,
    "s": 30.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.67387,
    "c": 0.107,
    "h": 125.2
  },
  "luminance": 0.31663
}

Semantic roles & 50–950 ramp

primary
#87A256
secondary
#A598BC
accent
#61C785
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#10120B
muted
#7F817C

Preview Lab

Preview with #87A256

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

Preview Lab → · Contrast checker → · Palette generator →

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