#87AF48#87AF48

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

Color values

HEX#87AF48
RGBrgb(135, 175, 72)
HSLhsl(83, 42%, 48%)
HSVhsv(83, 59%, 69%)
CMYKcmyk(22.9%, 0%, 58.9%, 31.4%)
CIE-LABlab(66.73, -30.00, 47.46)
CIE-LCHlch(66.73, 56.14, 122.30°)
OKLaboklab(70.29% -0.0847 0.1106)
OKLCHoklch(70.29% 0.139 127.5)
XYZxyz(26.4913, 36.2783, 11.7364)
Luminance0.3628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF48 #7048AF
analogous
#AFA348 #87AF48 #53AF48
triadic
#87AF48 #4887AF #AF4887
tetradic
#87AF48 #48AFA3 #7048AF #AF4853
square
#87AF48 #48AFA3 #7048AF #AF4853
split-complementary
#87AF48 #4853AF #A348AF
monochromatic
#445824 #668436 #87AF48 #A3C470 #BFD69B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AF48#FFFFFF#000000##000000
##87AF481.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)
#B7A43D
Deuteranopia (green-blind)
#B2A24F
Tritanopia (blue-blind)
#8BA899
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af48;
/* rgb */ color: rgb(135, 175, 72);
/* oklch */ color: oklch(70.3% 0.139 127.5);
Tailwind
colors: {
  custom: {
    50: '#acc77f',
    500: '#87af48',
    950: '#000000',
  },
}
SCSS
$custom: #87af48;
$custom-light: #acc77f;
$custom-dark: #000000;
JSON
{
  "hex": "#87af48",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 83.301,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70292,
    "c": 0.13926,
    "h": 127.5
  },
  "luminance": 0.36279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #87AF48

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

Preview Lab → · Contrast checker → · Palette generator →

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