#87A52C#87A52C

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

Color values

HEX#87A52C
RGBrgb(135, 165, 44)
HSLhsl(75, 58%, 41%)
HSVhsv(75, 73%, 65%)
CMYKcmyk(18.2%, 0%, 73.3%, 35.3%)
CIE-LABlab(63.54, -27.26, 55.72)
CIE-LCHlch(63.54, 62.03, 116.07°)
OKLaboklab(67.64% -0.0797 0.1241)
OKLCHoklch(67.64% 0.148 122.7)
XYZxyz(23.9017, 32.2429, 7.3467)
Luminance0.3224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A52C #4A2CA5
analogous
#A5862C #87A52C #4AA52C
triadic
#87A52C #2C87A5 #A52C87
tetradic
#87A52C #2CA586 #4A2CA5 #A52C4A
square
#87A52C #2CA586 #4A2CA5 #A52C4A
split-complementary
#87A52C #2C4AA5 #862CA5
monochromatic
#384412 #5F751F #87A52C #AACD42 #C0D972

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A52C#FFFFFF#000000##000000
##87A52C1.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)
#AF9B15
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#8E9D8E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a52c;
/* rgb */ color: rgb(135, 165, 44);
/* oklch */ color: oklch(67.6% 0.147 122.7);
Tailwind
colors: {
  custom: {
    50: '#adbf6e',
    500: '#87a52c',
    950: '#000000',
  },
}
SCSS
$custom: #87a52c;
$custom-light: #adbf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#87a52c",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 74.876,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67643,
    "c": 0.1475,
    "h": 122.7
  },
  "luminance": 0.32243
}

Semantic roles & 50–950 ramp

primary
#87A52C
secondary
#816CC1
accent
#47E16D
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87A52C

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

Preview Lab → · Contrast checker → · Palette generator →

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