#87AA2F#87AA2F

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

Color values

HEX#87AA2F
RGBrgb(135, 170, 47)
HSLhsl(77, 57%, 43%)
HSVhsv(77, 72%, 67%)
CMYKcmyk(20.6%, 0%, 72.4%, 33.3%)
CIE-LABlab(65.05, -29.49, 56.10)
CIE-LCHlch(65.05, 63.38, 117.73°)
OKLaboklab(68.86% -0.0855 0.1254)
OKLCHoklch(68.86% 0.152 124.3)
XYZxyz(24.8797, 34.1054, 7.9610)
Luminance0.3411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AA2F #522FAA
analogous
#AA8F2F #87AA2F #4AAA2F
triadic
#87AA2F #2F87AA #AA2F87
tetradic
#87AA2F #2FAA8F #522FAA #AA2F4A
square
#87AA2F #2FAA8F #522FAA #AA2F4A
split-complementary
#87AA2F #2F4AAA #8F2FAA
monochromatic
#3B4A14 #617A22 #87AA2F #A7CD49 #BFDA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AA2F#FFFFFF#000000##000000
##87AA2F1.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)
#B49F19
Deuteranopia (green-blind)
#AF9E3A
Tritanopia (blue-blind)
#8DA292
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #87aa2f;
/* rgb */ color: rgb(135, 170, 47);
/* oklch */ color: oklch(68.9% 0.152 124.3);
Tailwind
colors: {
  custom: {
    50: '#adc370',
    500: '#87aa2f',
    950: '#000000',
  },
}
SCSS
$custom: #87aa2f;
$custom-light: #adc370;
$custom-dark: #000000;
JSON
{
  "hex": "#87aa2f",
  "rgb": {
    "r": 135,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 77.073,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68864,
    "c": 0.15181,
    "h": 124.3
  },
  "luminance": 0.34106
}

Semantic roles & 50–950 ramp

primary
#87AA2F
secondary
#8972C2
accent
#48E073
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87AA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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