#87AF47#87AF47

#87AF47 is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.3% C 0.140 H 127.4°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#87AF47
RGBrgb(135, 175, 71)
HSLhsl(83, 42%, 48%)
HSVhsv(83, 59%, 69%)
CMYKcmyk(22.9%, 0%, 59.4%, 31.4%)
CIE-LABlab(66.72, -30.09, 47.91)
CIE-LCHlch(66.72, 56.57, 122.13°)
OKLaboklab(70.28% -0.085 0.1114)
OKLCHoklch(70.28% 0.14 127.4)
XYZxyz(26.4589, 36.2653, 11.5659)
Luminance0.3627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF47 #6F47AF
analogous
#AFA347 #87AF47 #53AF47
triadic
#87AF47 #4787AF #AF4787
tetradic
#87AF47 #47AFA3 #6F47AF #AF4753
square
#87AF47 #47AFA3 #6F47AF #AF4753
split-complementary
#87AF47 #4753AF #A347AF
monochromatic
#445824 #658335 #87AF47 #A3C46F #BFD69A

Accessibility & contrast

On white

2.54
#87AF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#87AF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AF47
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AF47#FFFFFF#000000##000000
##87AF471.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A43C
Deuteranopia (green-blind)
#B2A24E
Tritanopia (blue-blind)
#8BA899
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af47;
/* rgb */ color: rgb(135, 175, 71);
/* oklch */ color: oklch(70.3% 0.140 127.4);
Tailwind
colors: {
  custom: {
    50: '#acc77e',
    500: '#87af47',
    950: '#000000',
  },
}
SCSS
$custom: #87af47;
$custom-light: #acc77e;
$custom-dark: #000000;
JSON
{
  "hex": "#87af47",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 83.077,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.70281,
    "c": 0.14013,
    "h": 127.4
  },
  "luminance": 0.36266
}

Semantic roles & 50–950 ramp

primary
#87AF47
secondary
#A38FC2
accent
#56D286
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #87AF47

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

Preview Lab → · Contrast checker → · Palette generator →

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