#87AF49#87AF49

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

Color values

HEX#87AF49
RGBrgb(135, 175, 73)
HSLhsl(84, 41%, 49%)
HSVhsv(84, 58%, 69%)
CMYKcmyk(22.9%, 0%, 58.3%, 31.4%)
CIE-LABlab(66.74, -29.90, 47.01)
CIE-LCHlch(66.74, 55.72, 122.46°)
OKLaboklab(70.3% -0.0843 0.1097)
OKLCHoklch(70.3% 0.138 127.6)
XYZxyz(26.5242, 36.2914, 11.9096)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF49 #7149AF
analogous
#AFA449 #87AF49 #54AF49
triadic
#87AF49 #4987AF #AF4987
tetradic
#87AF49 #49AFA4 #7149AF #AF4954
square
#87AF49 #49AFA4 #7149AF #AF4954
split-complementary
#87AF49 #4954AF #A449AF
monochromatic
#445925 #668437 #87AF49 #A4C471 #BFD69C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AF49#FFFFFF#000000##000000
##87AF491.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)
#B7A43E
Deuteranopia (green-blind)
#B2A250
Tritanopia (blue-blind)
#8BA899
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af49;
/* rgb */ color: rgb(135, 175, 73);
/* oklch */ color: oklch(70.3% 0.138 127.6);
Tailwind
colors: {
  custom: {
    50: '#acc77f',
    500: '#87af49',
    950: '#000000',
  },
}
SCSS
$custom: #87af49;
$custom-light: #acc77f;
$custom-dark: #000000;
JSON
{
  "hex": "#87af49",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 73
  },
  "hsl": {
    "h": 83.529,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70304,
    "c": 0.13836,
    "h": 127.6
  },
  "luminance": 0.36292
}

Semantic roles & 50–950 ramp

primary
#87AF49
secondary
#A591C2
accent
#57D187
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #87AF49

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

Preview Lab → · Contrast checker → · Palette generator →

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