#87AE2A#87AE2A

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

Color values

HEX#87AE2A
RGBrgb(135, 174, 42)
HSLhsl(78, 61%, 42%)
HSVhsv(78, 76%, 68%)
CMYKcmyk(22.4%, 0%, 75.9%, 31.8%)
CIE-LABlab(66.21, -31.66, 58.98)
CIE-LCHlch(66.21, 66.94, 118.23°)
OKLaboklab(69.79% -0.0919 0.1306)
OKLCHoklch(69.79% 0.16 125.1)
XYZxyz(25.5459, 35.5899, 7.7137)
Luminance0.3559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AE2A #512AAE
analogous
#AE932A #87AE2A #45AE2A
triadic
#87AE2A #2A87AE #AE2A87
tetradic
#87AE2A #2AAE93 #512AAE #AE2A45
square
#87AE2A #2AAE93 #512AAE #AE2A45
split-complementary
#87AE2A #2A45AE #932AAE
monochromatic
#3B4B12 #617D1E #87AE2A #A8D243 #BFDE75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AE2A#FFFFFF#000000##000000
##87AE2A1.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)
#B8A20A
Deuteranopia (green-blind)
#B3A037
Tritanopia (blue-blind)
#8DA595
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #87ae2a;
/* rgb */ color: rgb(135, 174, 42);
/* oklch */ color: oklch(69.8% 0.160 125.1);
Tailwind
colors: {
  custom: {
    50: '#aec66e',
    500: '#87ae2a',
    950: '#000000',
  },
}
SCSS
$custom: #87ae2a;
$custom-light: #aec66e;
$custom-dark: #000000;
JSON
{
  "hex": "#87ae2a",
  "rgb": {
    "r": 135,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 77.727,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69792,
    "c": 0.15972,
    "h": 125.1
  },
  "luminance": 0.3559
}

Semantic roles & 50–950 ramp

primary
#87AE2A
secondary
#886FC5
accent
#44E473
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #87AE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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