#87A452#87A452

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

Color values

HEX#87A452
RGBrgb(135, 164, 82)
HSLhsl(81, 33%, 48%)
HSVhsv(81, 50%, 64%)
CMYKcmyk(17.7%, 0%, 50%, 35.7%)
CIE-LABlab(63.60, -23.64, 38.98)
CIE-LCHlch(63.60, 45.59, 121.23°)
OKLaboklab(67.8% -0.0661 0.0931)
OKLCHoklch(67.8% 0.114 125.4)
XYZxyz(24.7901, 32.3108, 12.9116)
Luminance0.3231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A452 #6F52A4
analogous
#A49852 #87A452 #5EA452
triadic
#87A452 #5287A4 #A45287
tetradic
#87A452 #52A498 #6F52A4 #A4525E
square
#87A452 #52A498 #6F52A4 #A4525E
split-complementary
#87A452 #525EA4 #9852A4
monochromatic
#445229 #657B3E #87A452 #A3BB78 #BFD0A1

Accessibility & contrast

On white

2.81
#87A452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A452#FFFFFF#000000##000000
##87A4521.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87a452;
/* rgb */ color: rgb(135, 164, 82);
/* oklch */ color: oklch(67.8% 0.114 125.4);
Tailwind
colors: {
  custom: {
    50: '#abbf84',
    500: '#87a452',
    950: '#000000',
  },
}
SCSS
$custom: #87a452;
$custom-light: #abbf84;
$custom-dark: #000000;
JSON
{
  "hex": "#87a452",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 82
  },
  "hsl": {
    "h": 81.22,
    "s": 33.333,
    "l": 48.235
  },
  "oklch": {
    "l": 0.67801,
    "c": 0.11416,
    "h": 125.4
  },
  "luminance": 0.32311
}

Semantic roles & 50–950 ramp

primary
#87A452
secondary
#A395BD
accent
#5EC984
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #87A452

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

Preview Lab → · Contrast checker → · Palette generator →

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