#87AA2D#87AA2D

#87AA2D is a light, vivid yellow-green. Relative luminance 0.341; OKLCH L 68.8% C 0.153 H 124.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#87AA2D
RGBrgb(135, 170, 45)
HSLhsl(77, 58%, 42%)
HSVhsv(77, 74%, 67%)
CMYKcmyk(20.6%, 0%, 73.5%, 33.3%)
CIE-LABlab(65.03, -29.61, 56.82)
CIE-LCHlch(65.03, 64.07, 117.52°)
OKLaboklab(68.85% -0.086 0.1266)
OKLCHoklch(68.85% 0.153 124.2)
XYZxyz(24.8403, 34.0896, 7.7534)
Luminance0.3409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AA2D #502DAA
analogous
#AA8F2D #87AA2D #48AA2D
triadic
#87AA2D #2D87AA #AA2D87
tetradic
#87AA2D #2DAA8F #502DAA #AA2D48
square
#87AA2D #2DAA8F #502DAA #AA2D48
split-complementary
#87AA2D #2D48AA #8F2DAA
monochromatic
#3A4913 #617A20 #87AA2D #A8CE46 #BFDB77

Accessibility & contrast

On white

2.69
#87AA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#87AA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AA2D
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AA2D#FFFFFF#000000##000000
##87AA2D1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F15
Deuteranopia (green-blind)
#AF9D38
Tritanopia (blue-blind)
#8EA292
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #87aa2d;
/* rgb */ color: rgb(135, 170, 45);
/* oklch */ color: oklch(68.8% 0.153 124.2);
Tailwind
colors: {
  custom: {
    50: '#adc36f',
    500: '#87aa2d',
    950: '#000000',
  },
}
SCSS
$custom: #87aa2d;
$custom-light: #adc36f;
$custom-dark: #000000;
JSON
{
  "hex": "#87aa2d",
  "rgb": {
    "r": 135,
    "g": 170,
    "b": 45
  },
  "hsl": {
    "h": 76.8,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68849,
    "c": 0.15306,
    "h": 124.2
  },
  "luminance": 0.3409
}

Semantic roles & 50–950 ramp

primary
#87AA2D
secondary
#8770C3
accent
#46E172
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87AA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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