#87AA1B#87AA1B

#87AA1B is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.8% C 0.162 H 123.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#87AA1B
RGBrgb(135, 170, 27)
HSLhsl(75, 73%, 39%)
HSVhsv(75, 84%, 67%)
CMYKcmyk(20.6%, 0%, 84.1%, 33.3%)
CIE-LABlab(64.95, -30.42, 62.20)
CIE-LCHlch(64.95, 69.24, 116.06°)
OKLaboklab(68.75% -0.0895 0.135)
OKLCHoklch(68.75% 0.162 123.6)
XYZxyz(24.5646, 33.9793, 6.3012)
Luminance0.3398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AA1B #3E1BAA
analogous
#AA851B #87AA1B #3FAA1B
triadic
#87AA1B #1B87AA #AA1B87
tetradic
#87AA1B #1BAA85 #3E1BAA #AA1B3F
square
#87AA1B #1BAA85 #3E1BAA #AA1B3F
split-complementary
#87AA1B #1B3FAA #851BAA
monochromatic
#33400A #5D7513 #87AA1B #B0DC26 #C3E55B

Accessibility & contrast

On white

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

On black

7.80
#87AA1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AA1B
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AA1B#FFFFFF#000000##000000
##87AA1B1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B09D2C
Tritanopia (blue-blind)
#8EA191
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #87aa1b;
/* rgb */ color: rgb(135, 170, 27);
/* oklch */ color: oklch(68.8% 0.162 123.6);
Tailwind
colors: {
  custom: {
    50: '#aec367',
    500: '#87aa1b',
    950: '#000000',
  },
}
SCSS
$custom: #87aa1b;
$custom-light: #aec367;
$custom-dark: #000000;
JSON
{
  "hex": "#87aa1b",
  "rgb": {
    "r": 135,
    "g": 170,
    "b": 27
  },
  "hsl": {
    "h": 74.685,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68751,
    "c": 0.16202,
    "h": 123.6
  },
  "luminance": 0.33979
}

Semantic roles & 50–950 ramp

primary
#87AA1B
secondary
#7458C9
accent
#39EF65
background
#FBFCF6
surface
#F6F8EB
border
#D0D1C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87AA1B

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

Preview Lab → · Contrast checker → · Palette generator →

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