#87A451#87A451

#87A451 is a light, moderate yellow-green. Relative luminance 0.323; OKLCH L 67.8% C 0.115 H 125.3°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#87A451
RGBrgb(135, 164, 81)
HSLhsl(81, 34%, 48%)
HSVhsv(81, 51%, 64%)
CMYKcmyk(17.7%, 0%, 50.6%, 35.7%)
CIE-LABlab(63.59, -23.75, 39.47)
CIE-LCHlch(63.59, 46.06, 121.04°)
OKLaboklab(67.79% -0.0665 0.0941)
OKLCHoklch(67.79% 0.115 125.3)
XYZxyz(24.7523, 32.2957, 12.7126)
Luminance0.3230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A451 #6E51A4
analogous
#A49751 #87A451 #5DA451
triadic
#87A451 #5187A4 #A45187
tetradic
#87A451 #51A497 #6E51A4 #A4515D
square
#87A451 #51A497 #6E51A4 #A4515D
split-complementary
#87A451 #515DA4 #9751A4
monochromatic
#445229 #657B3D #87A451 #A3BC77 #BFD0A0

Accessibility & contrast

On white

2.82
#87A451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#87A451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A451
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A451#FFFFFF#000000##000000
##87A4511.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9B4A
Deuteranopia (green-blind)
#A89A56
Tritanopia (blue-blind)
#8C9D91
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a451;
/* rgb */ color: rgb(135, 164, 81);
/* oklch */ color: oklch(67.8% 0.115 125.3);
Tailwind
colors: {
  custom: {
    50: '#acbf84',
    500: '#87a451',
    950: '#000000',
  },
}
SCSS
$custom: #87a451;
$custom-light: #acbf84;
$custom-dark: #000000;
JSON
{
  "hex": "#87a451",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 81
  },
  "hsl": {
    "h": 80.964,
    "s": 33.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.67787,
    "c": 0.1152,
    "h": 125.3
  },
  "luminance": 0.32296
}

Semantic roles & 50–950 ramp

primary
#87A451
secondary
#A294BD
accent
#5ECA84
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #87A451

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

Preview Lab → · Contrast checker → · Palette generator →

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