#87AF4A#87AF4A

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

Color values

HEX#87AF4A
RGBrgb(135, 175, 74)
HSLhsl(84, 41%, 49%)
HSVhsv(84, 58%, 69%)
CMYKcmyk(22.9%, 0%, 57.7%, 31.4%)
CIE-LABlab(66.75, -29.81, 46.56)
CIE-LCHlch(66.75, 55.29, 122.63°)
OKLaboklab(70.32% -0.084 0.1088)
OKLCHoklch(70.32% 0.137 127.7)
XYZxyz(26.5576, 36.3048, 12.0856)
Luminance0.3630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF4A #724AAF
analogous
#AFA54A #87AF4A #55AF4A
triadic
#87AF4A #4A87AF #AF4A87
tetradic
#87AF4A #4AAFA5 #724AAF #AF4A55
square
#87AF4A #4AAFA5 #724AAF #AF4A55
split-complementary
#87AF4A #4A55AF #A54AAF
monochromatic
#455926 #668438 #87AF4A #A4C473 #C0D69E

Accessibility & contrast

On white

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

On black

8.26
#87AF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AF4A
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AF4A#FFFFFF#000000##000000
##87AF4A1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87af4a;
/* rgb */ color: rgb(135, 175, 74);
/* oklch */ color: oklch(70.3% 0.137 127.7);
Tailwind
colors: {
  custom: {
    50: '#acc780',
    500: '#87af4a',
    950: '#000000',
  },
}
SCSS
$custom: #87af4a;
$custom-light: #acc780;
$custom-dark: #000000;
JSON
{
  "hex": "#87af4a",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 83.762,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70315,
    "c": 0.13747,
    "h": 127.7
  },
  "luminance": 0.36305
}

Semantic roles & 50–950 ramp

primary
#87AF4A
secondary
#A592C2
accent
#57D087
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130A
muted
#7F827C

Preview Lab

Preview with #87AF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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