#87A962#87A962

#87A962 is a light, moderate yellow-green. Relative luminance 0.344; OKLCH L 69.2% C 0.104 H 129.6°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#87A962
RGBrgb(135, 169, 98)
HSLhsl(89, 29%, 52%)
HSVhsv(89, 42%, 66%)
CMYKcmyk(20.1%, 0%, 42%, 33.7%)
CIE-LABlab(65.29, -24.20, 32.87)
CIE-LCHlch(65.29, 40.82, 126.37°)
OKLaboklab(69.23% -0.0666 0.0803)
OKLCHoklch(69.23% 0.104 129.6)
XYZxyz(26.3839, 34.4082, 16.8043)
Luminance0.3441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A962 #8462A9
analogous
#A9A762 #87A962 #64A962
triadic
#87A962 #6287A9 #A96287
tetradic
#87A962 #62A9A7 #8462A9 #A96264
square
#87A962 #62A9A7 #8462A9 #A96264
split-complementary
#87A962 #6264A9 #A762A9
monochromatic
#495D33 #688549 #87A962 #A5BF8A #C3D4B1

Accessibility & contrast

On white

2.66
#87A962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#87A962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A962
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A962#FFFFFF#000000##000000
##87A9621.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA05D
Deuteranopia (green-blind)
#AA9E66
Tritanopia (blue-blind)
#89A398
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #87a962;
/* rgb */ color: rgb(135, 169, 98);
/* oklch */ color: oklch(69.2% 0.104 129.6);
Tailwind
colors: {
  custom: {
    50: '#abc290',
    500: '#87a962',
    950: '#000000',
  },
}
SCSS
$custom: #87a962;
$custom-light: #abc290;
$custom-dark: #000000;
JSON
{
  "hex": "#87a962",
  "rgb": {
    "r": 135,
    "g": 169,
    "b": 98
  },
  "hsl": {
    "h": 88.732,
    "s": 29.218,
    "l": 52.353
  },
  "oklch": {
    "l": 0.69229,
    "c": 0.10433,
    "h": 129.6
  },
  "luminance": 0.34409
}

Semantic roles & 50–950 ramp

primary
#87A962
secondary
#B3A4C3
accent
#62C592
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#10120C
muted
#7F817D

Preview Lab

Preview with #87A962

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

Preview Lab → · Contrast checker → · Palette generator →

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