#87AF2D#87AF2D

#87AF2D is a light, vivid yellow-green. Relative luminance 0.360; OKLCH L 70.1% C 0.159 H 125.5°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#87AF2D
RGBrgb(135, 175, 45)
HSLhsl(78, 59%, 43%)
HSVhsv(78, 74%, 69%)
CMYKcmyk(22.9%, 0%, 74.3%, 31.4%)
CIE-LABlab(66.52, -31.97, 58.26)
CIE-LCHlch(66.52, 66.45, 118.75°)
OKLaboklab(70.05% -0.0925 0.1296)
OKLCHoklch(70.05% 0.159 125.5)
XYZxyz(25.7955, 36.0000, 8.0718)
Luminance0.3600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF2D #552DAF
analogous
#AF962D #87AF2D #46AF2D
triadic
#87AF2D #2D87AF #AF2D87
tetradic
#87AF2D #2DAF96 #552DAF #AF2D46
square
#87AF2D #2DAF96 #552DAF #AF2D46
split-complementary
#87AF2D #2D46AF #962DAF
monochromatic
#3C4E14 #617E20 #87AF2D #A7D049 #BEDD7A

Accessibility & contrast

On white

2.56
#87AF2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#87AF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AF2D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AF2D#FFFFFF#000000##000000
##87AF2D1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A312
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#8DA796
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af2d;
/* rgb */ color: rgb(135, 175, 45);
/* oklch */ color: oklch(70.1% 0.159 125.5);
Tailwind
colors: {
  custom: {
    50: '#aec76f',
    500: '#87af2d',
    950: '#000000',
  },
}
SCSS
$custom: #87af2d;
$custom-light: #aec76f;
$custom-dark: #000000;
JSON
{
  "hex": "#87af2d",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 78.462,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.70053,
    "c": 0.15923,
    "h": 125.5
  },
  "luminance": 0.36
}

Semantic roles & 50–950 ramp

primary
#87AF2D
secondary
#8C73C5
accent
#46E276
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87AF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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