#87AA2B#87AA2B

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

Color values

HEX#87AA2B
RGBrgb(135, 170, 43)
HSLhsl(77, 60%, 42%)
HSVhsv(77, 75%, 67%)
CMYKcmyk(20.6%, 0%, 74.7%, 33.3%)
CIE-LABlab(65.02, -29.72, 57.51)
CIE-LCHlch(65.02, 64.73, 117.33°)
OKLaboklab(68.84% -0.0865 0.1277)
OKLCHoklch(68.84% 0.154 124.1)
XYZxyz(24.8027, 34.0745, 7.5554)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AA2B #4E2BAA
analogous
#AA8D2B #87AA2B #48AA2B
triadic
#87AA2B #2B87AA #AA2B87
tetradic
#87AA2B #2BAA8D #4E2BAA #AA2B48
square
#87AA2B #2BAA8D #4E2BAA #AA2B48
split-complementary
#87AA2B #2B48AA #8D2BAA
monochromatic
#394812 #60791F #87AA2B #A9CF43 #BFDC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AA2B#FFFFFF#000000##000000
##87AA2B1.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)
#B49F10
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#8EA192
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #87aa2b;
/* rgb */ color: rgb(135, 170, 43);
/* oklch */ color: oklch(68.8% 0.154 124.1);
Tailwind
colors: {
  custom: {
    50: '#adc36e',
    500: '#87aa2b',
    950: '#000000',
  },
}
SCSS
$custom: #87aa2b;
$custom-light: #adc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#87aa2b",
  "rgb": {
    "r": 135,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 76.535,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68836,
    "c": 0.15425,
    "h": 124.1
  },
  "luminance": 0.34075
}

Semantic roles & 50–950 ramp

primary
#87AA2B
secondary
#856EC3
accent
#45E370
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87AA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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