#87AF4B#87AF4B

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

Color values

HEX#87AF4B
RGBrgb(135, 175, 75)
HSLhsl(84, 40%, 49%)
HSVhsv(84, 57%, 69%)
CMYKcmyk(22.9%, 0%, 57.1%, 31.4%)
CIE-LABlab(66.76, -29.72, 46.11)
CIE-LCHlch(66.76, 54.85, 122.80°)
OKLaboklab(70.33% -0.0836 0.108)
OKLCHoklch(70.33% 0.137 127.8)
XYZxyz(26.5915, 36.3184, 12.2644)
Luminance0.3632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF4B #734BAF
analogous
#AFA54B #87AF4B #55AF4B
triadic
#87AF4B #4B87AF #AF4B87
tetradic
#87AF4B #4BAFA5 #734BAF #AF4B55
square
#87AF4B #4BAFA5 #734BAF #AF4B55
split-complementary
#87AF4B #4B55AF #A54BAF
monochromatic
#455926 #668439 #87AF4B #A4C374 #C0D69F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AF4B#FFFFFF#000000##000000
##87AF4B1.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)
#B7A441
Deuteranopia (green-blind)
#B1A252
Tritanopia (blue-blind)
#8BA899
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af4b;
/* rgb */ color: rgb(135, 175, 75);
/* oklch */ color: oklch(70.3% 0.137 127.8);
Tailwind
colors: {
  custom: {
    50: '#acc781',
    500: '#87af4b',
    950: '#000000',
  },
}
SCSS
$custom: #87af4b;
$custom-light: #acc781;
$custom-dark: #000000;
JSON
{
  "hex": "#87af4b",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 75
  },
  "hsl": {
    "h": 84,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70327,
    "c": 0.13657,
    "h": 127.8
  },
  "luminance": 0.36319
}

Semantic roles & 50–950 ramp

primary
#87AF4B
secondary
#A693C2
accent
#58D088
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130A
muted
#7F827C

Preview Lab

Preview with #87AF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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