#87A255#87A255

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

Color values

HEX#87A255
RGBrgb(135, 162, 85)
HSLhsl(81, 31%, 48%)
HSVhsv(81, 48%, 64%)
CMYKcmyk(16.7%, 0%, 47.5%, 36.5%)
CIE-LABlab(63.05, -22.30, 36.79)
CIE-LCHlch(63.05, 43.02, 121.22°)
OKLaboklab(67.37% -0.0621 0.0885)
OKLCHoklch(67.37% 0.108 125.1)
XYZxyz(24.5516, 31.6472, 13.4076)
Luminance0.3165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A255 #7055A2
analogous
#A29655 #87A255 #60A255
triadic
#87A255 #5587A2 #A25587
tetradic
#87A255 #55A296 #7055A2 #A25560
square
#87A255 #55A296 #7055A2 #A25560
split-complementary
#87A255 #5560A2 #9655A2
monochromatic
#44522B #667A40 #87A255 #A3BA7B #BFCFA3

Accessibility & contrast

On white

2.87
#87A255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A255#FFFFFF#000000##000000
##87A2551.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99A4F
Deuteranopia (green-blind)
#A69859
Tritanopia (blue-blind)
#8C9C90
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #87a255;
/* rgb */ color: rgb(135, 162, 85);
/* oklch */ color: oklch(67.4% 0.108 125.1);
Tailwind
colors: {
  custom: {
    50: '#abbd86',
    500: '#87a255',
    950: '#000000',
  },
}
SCSS
$custom: #87a255;
$custom-light: #abbd86;
$custom-dark: #000000;
JSON
{
  "hex": "#87a255",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 85
  },
  "hsl": {
    "h": 81.039,
    "s": 31.174,
    "l": 48.431
  },
  "oklch": {
    "l": 0.67372,
    "c": 0.10808,
    "h": 125.1
  },
  "luminance": 0.31647
}

Semantic roles & 50–950 ramp

primary
#87A255
secondary
#A497BC
accent
#60C785
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #87A255

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

Preview Lab → · Contrast checker → · Palette generator →

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