#87AA2C#87AA2C

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

Color values

HEX#87AA2C
RGBrgb(135, 170, 44)
HSLhsl(77, 59%, 42%)
HSVhsv(77, 74%, 67%)
CMYKcmyk(20.6%, 0%, 74.1%, 33.3%)
CIE-LABlab(65.03, -29.66, 57.16)
CIE-LCHlch(65.03, 64.40, 117.43°)
OKLaboklab(68.84% -0.0863 0.1272)
OKLCHoklch(68.84% 0.154 124.2)
XYZxyz(24.8213, 34.0820, 7.6532)
Luminance0.3408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AA2C #4F2CAA
analogous
#AA8E2C #87AA2C #48AA2C
triadic
#87AA2C #2C87AA #AA2C87
tetradic
#87AA2C #2CAA8E #4F2CAA #AA2C48
square
#87AA2C #2CAA8E #4F2CAA #AA2C48
split-complementary
#87AA2C #2C48AA #8E2CAA
monochromatic
#3A4913 #60791F #87AA2C #A8CF44 #BFDB75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AA2C#FFFFFF#000000##000000
##87AA2C1.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)
#B49F12
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#8EA292
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #87aa2c;
/* rgb */ color: rgb(135, 170, 44);
/* oklch */ color: oklch(68.8% 0.154 124.2);
Tailwind
colors: {
  custom: {
    50: '#adc36e',
    500: '#87aa2c',
    950: '#000000',
  },
}
SCSS
$custom: #87aa2c;
$custom-light: #adc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#87aa2c",
  "rgb": {
    "r": 135,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 76.667,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68843,
    "c": 0.15366,
    "h": 124.2
  },
  "luminance": 0.34082
}

Semantic roles & 50–950 ramp

primary
#87AA2C
secondary
#866FC3
accent
#46E271
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87AA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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