#87AE31#87AE31

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

Color values

HEX#87AE31
RGBrgb(135, 174, 49)
HSLhsl(79, 56%, 44%)
HSVhsv(79, 72%, 68%)
CMYKcmyk(22.4%, 0%, 71.8%, 31.8%)
CIE-LABlab(66.25, -31.27, 56.56)
CIE-LCHlch(66.25, 64.62, 118.94°)
OKLaboklab(69.84% -0.0902 0.1267)
OKLCHoklch(69.84% 0.156 125.5)
XYZxyz(25.6823, 35.6444, 8.4321)
Luminance0.3564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AE31 #5831AE
analogous
#AE9631 #87AE31 #48AE31
triadic
#87AE31 #3187AE #AE3187
tetradic
#87AE31 #31AE96 #5831AE #AE3148
square
#87AE31 #31AE96 #5831AE #AE3148
split-complementary
#87AE31 #3148AE #9631AE
monochromatic
#3D4E16 #627E24 #87AE31 #A6CD4F #BEDB7F

Accessibility & contrast

On white

2.58
#87AE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#87AE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AE31
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AE31#FFFFFF#000000##000000
##87AE311.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21B
Deuteranopia (green-blind)
#B2A13C
Tritanopia (blue-blind)
#8DA696
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #87ae31;
/* rgb */ color: rgb(135, 174, 49);
/* oklch */ color: oklch(69.8% 0.156 125.5);
Tailwind
colors: {
  custom: {
    50: '#adc671',
    500: '#87ae31',
    950: '#000000',
  },
}
SCSS
$custom: #87ae31;
$custom-light: #adc671;
$custom-dark: #000000;
JSON
{
  "hex": "#87ae31",
  "rgb": {
    "r": 135,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 78.72,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6984,
    "c": 0.15553,
    "h": 125.5
  },
  "luminance": 0.35645
}

Semantic roles & 50–950 ramp

primary
#87AE31
secondary
#8F77C4
accent
#48DF78
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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