#87AE2B#87AE2B

#87AE2B is a light, vivid yellow-green. Relative luminance 0.356; OKLCH L 69.8% C 0.159 H 125.2°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#87AE2B
RGBrgb(135, 174, 43)
HSLhsl(78, 60%, 43%)
HSVhsv(78, 75%, 68%)
CMYKcmyk(22.4%, 0%, 75.3%, 31.8%)
CIE-LABlab(66.21, -31.61, 58.65)
CIE-LCHlch(66.21, 66.62, 118.32°)
OKLaboklab(69.8% -0.0917 0.1301)
OKLCHoklch(69.8% 0.159 125.2)
XYZxyz(25.5640, 35.5971, 7.8091)
Luminance0.3560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AE2B #522BAE
analogous
#AE942B #87AE2B #45AE2B
triadic
#87AE2B #2B87AE #AE2B87
tetradic
#87AE2B #2BAE94 #522BAE #AE2B45
square
#87AE2B #2BAE94 #522BAE #AE2B45
split-complementary
#87AE2B #2B45AE #942BAE
monochromatic
#3B4C13 #617D1F #87AE2B #A7D145 #BFDD76

Accessibility & contrast

On white

2.59
#87AE2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#87AE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AE2B
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AE2B#FFFFFF#000000##000000
##87AE2B1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A20D
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#8DA595
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #87ae2b;
/* rgb */ color: rgb(135, 174, 43);
/* oklch */ color: oklch(69.8% 0.159 125.2);
Tailwind
colors: {
  custom: {
    50: '#aec66e',
    500: '#87ae2b',
    950: '#000000',
  },
}
SCSS
$custom: #87ae2b;
$custom-light: #aec66e;
$custom-dark: #000000;
JSON
{
  "hex": "#87ae2b",
  "rgb": {
    "r": 135,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 77.863,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69799,
    "c": 0.15916,
    "h": 125.2
  },
  "luminance": 0.35597
}

Semantic roles & 50–950 ramp

primary
#87AE2B
secondary
#8970C5
accent
#44E474
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87AE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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