#87A462#87A462

#87A462 is a light, moderate yellow-green. Relative luminance 0.326; OKLCH L 68.1% C 0.097 H 128.1°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#87A462
RGBrgb(135, 164, 98)
HSLhsl(86, 27%, 51%)
HSVhsv(86, 40%, 64%)
CMYKcmyk(17.7%, 0%, 40.2%, 35.7%)
CIE-LABlab(63.82, -21.70, 31.00)
CIE-LCHlch(63.82, 37.84, 125.00°)
OKLaboklab(68.05% -0.0596 0.0761)
OKLCHoklch(68.05% 0.097 128.1)
XYZxyz(25.4715, 32.5833, 16.5002)
Luminance0.3258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A462 #7F62A4
analogous
#A4A062 #87A462 #66A462
triadic
#87A462 #6287A4 #A46287
tetradic
#87A462 #62A4A0 #7F62A4 #A46266
square
#87A462 #62A4A0 #7F62A4 #A46266
split-complementary
#87A462 #6266A4 #A062A4
monochromatic
#485833 #687F4A #87A462 #A5BA89 #C2D1AF

Accessibility & contrast

On white

2.79
#87A462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#87A462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A462
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A462#FFFFFF#000000##000000
##87A4621.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9C5D
Deuteranopia (green-blind)
#A69A65
Tritanopia (blue-blind)
#8A9F94
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #87a462;
/* rgb */ color: rgb(135, 164, 98);
/* oklch */ color: oklch(68.1% 0.097 128.1);
Tailwind
colors: {
  custom: {
    50: '#abbf8f',
    500: '#87a462',
    950: '#000000',
  },
}
SCSS
$custom: #87a462;
$custom-light: #abbf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#87a462",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 98
  },
  "hsl": {
    "h": 86.364,
    "s": 26.613,
    "l": 51.373
  },
  "oklch": {
    "l": 0.68053,
    "c": 0.09661,
    "h": 128.1
  },
  "luminance": 0.32584
}

Semantic roles & 50–950 ramp

primary
#87A462
secondary
#AFA2BF
accent
#65C38E
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#10120C
muted
#7F817D

Preview Lab

Preview with #87A462

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

Preview Lab → · Contrast checker → · Palette generator →

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