#87AA2E#87AA2E

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

Color values

HEX#87AA2E
RGBrgb(135, 170, 46)
HSLhsl(77, 57%, 42%)
HSVhsv(77, 73%, 67%)
CMYKcmyk(20.6%, 0%, 72.9%, 33.3%)
CIE-LABlab(65.04, -29.55, 56.46)
CIE-LCHlch(65.04, 63.73, 117.63°)
OKLaboklab(68.86% -0.0858 0.126)
OKLCHoklch(68.86% 0.152 124.2)
XYZxyz(24.8598, 34.0974, 7.8560)
Luminance0.3410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AA2E #512EAA
analogous
#AA8F2E #87AA2E #49AA2E
triadic
#87AA2E #2E87AA #AA2E87
tetradic
#87AA2E #2EAA8F #512EAA #AA2E49
square
#87AA2E #2EAA8F #512EAA #AA2E49
split-complementary
#87AA2E #2E49AA #8F2EAA
monochromatic
#3B4A14 #617A21 #87AA2E #A8CD48 #BFDA78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AA2E#FFFFFF#000000##000000
##87AA2E1.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)
#B49F17
Deuteranopia (green-blind)
#AF9D39
Tritanopia (blue-blind)
#8EA292
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #87aa2e;
/* rgb */ color: rgb(135, 170, 46);
/* oklch */ color: oklch(68.9% 0.152 124.2);
Tailwind
colors: {
  custom: {
    50: '#adc36f',
    500: '#87aa2e',
    950: '#000000',
  },
}
SCSS
$custom: #87aa2e;
$custom-light: #adc36f;
$custom-dark: #000000;
JSON
{
  "hex": "#87aa2e",
  "rgb": {
    "r": 135,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 76.935,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68856,
    "c": 0.15244,
    "h": 124.2
  },
  "luminance": 0.34098
}

Semantic roles & 50–950 ramp

primary
#87AA2E
secondary
#8871C3
accent
#47E172
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87AA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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