#87A52D#87A52D

#87A52D is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.7% C 0.147 H 122.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#87A52D
RGBrgb(135, 165, 45)
HSLhsl(75, 57%, 41%)
HSVhsv(75, 73%, 65%)
CMYKcmyk(18.2%, 0%, 72.7%, 35.3%)
CIE-LABlab(63.55, -27.20, 55.36)
CIE-LCHlch(63.55, 61.69, 116.17°)
OKLaboklab(67.65% -0.0794 0.1235)
OKLCHoklch(67.65% 0.147 122.7)
XYZxyz(23.9208, 32.2505, 7.4469)
Luminance0.3225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A52D #4B2DA5
analogous
#A5872D #87A52D #4BA52D
triadic
#87A52D #2D87A5 #A52D87
tetradic
#87A52D #2DA587 #4B2DA5 #A52D4B
square
#87A52D #2DA587 #4B2DA5 #A52D4B
split-complementary
#87A52D #2D4BA5 #872DA5
monochromatic
#384513 #607520 #87A52D #AACC43 #C0D973

Accessibility & contrast

On white

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

On black

7.45
#87A52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A52D
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A52D#FFFFFF#000000##000000
##87A52D1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B17
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#8E9D8E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a52d;
/* rgb */ color: rgb(135, 165, 45);
/* oklch */ color: oklch(67.7% 0.147 122.7);
Tailwind
colors: {
  custom: {
    50: '#adbf6e',
    500: '#87a52d',
    950: '#000000',
  },
}
SCSS
$custom: #87a52d;
$custom-light: #adbf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#87a52d",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 75,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6765,
    "c": 0.14687,
    "h": 122.7
  },
  "luminance": 0.32251
}

Semantic roles & 50–950 ramp

primary
#87A52D
secondary
#826DC1
accent
#47E06E
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87A52D

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

Preview Lab → · Contrast checker → · Palette generator →

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