#87A52B#87A52B

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

Color values

HEX#87A52B
RGBrgb(135, 165, 43)
HSLhsl(75, 59%, 41%)
HSVhsv(75, 74%, 65%)
CMYKcmyk(18.2%, 0%, 73.9%, 35.3%)
CIE-LABlab(63.54, -27.32, 56.07)
CIE-LCHlch(63.54, 62.37, 115.97°)
OKLaboklab(67.64% -0.0799 0.1247)
OKLCHoklch(67.64% 0.148 122.7)
XYZxyz(23.8832, 32.2355, 7.2489)
Luminance0.3224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A52B #492BA5
analogous
#A5862B #87A52B #4AA52B
triadic
#87A52B #2B87A5 #A52B87
tetradic
#87A52B #2BA586 #492BA5 #A52B4A
square
#87A52B #2BA586 #492BA5 #A52B4A
split-complementary
#87A52B #2B4AA5 #862BA5
monochromatic
#384412 #5F741E #87A52B #AACD40 #C0DA71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A52B#FFFFFF#000000##000000
##87A52B1.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)
#AF9B13
Deuteranopia (green-blind)
#AB9A36
Tritanopia (blue-blind)
#8E9C8E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a52b;
/* rgb */ color: rgb(135, 165, 43);
/* oklch */ color: oklch(67.6% 0.148 122.7);
Tailwind
colors: {
  custom: {
    50: '#adbf6d',
    500: '#87a52b',
    950: '#000000',
  },
}
SCSS
$custom: #87a52b;
$custom-light: #adbf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#87a52b",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 74.754,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67636,
    "c": 0.14811,
    "h": 122.7
  },
  "luminance": 0.32236
}

Semantic roles & 50–950 ramp

primary
#87A52B
secondary
#806BC1
accent
#46E26C
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87A52B

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

Preview Lab → · Contrast checker → · Palette generator →

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