#87AF46#87AF46

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

Color values

HEX#87AF46
RGBrgb(135, 175, 70)
HSLhsl(83, 43%, 48%)
HSVhsv(83, 60%, 69%)
CMYKcmyk(22.9%, 0%, 60%, 31.4%)
CIE-LABlab(66.71, -30.18, 48.35)
CIE-LCHlch(66.71, 56.99, 121.97°)
OKLaboklab(70.27% -0.0854 0.1122)
OKLCHoklch(70.27% 0.141 127.3)
XYZxyz(26.4271, 36.2526, 11.3983)
Luminance0.3625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF46 #6E46AF
analogous
#AFA246 #87AF46 #53AF46
triadic
#87AF46 #4687AF #AF4687
tetradic
#87AF46 #46AFA2 #6E46AF #AF4653
square
#87AF46 #46AFA2 #6E46AF #AF4653
split-complementary
#87AF46 #4653AF #A246AF
monochromatic
#445823 #658335 #87AF46 #A3C56D #BFD699

Accessibility & contrast

On white

2.55
#87AF46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AF46#FFFFFF#000000##000000
##87AF461.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A43A
Deuteranopia (green-blind)
#B2A24D
Tritanopia (blue-blind)
#8CA898
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af46;
/* rgb */ color: rgb(135, 175, 70);
/* oklch */ color: oklch(70.3% 0.141 127.3);
Tailwind
colors: {
  custom: {
    50: '#adc77d',
    500: '#87af46',
    950: '#000000',
  },
}
SCSS
$custom: #87af46;
$custom-light: #adc77d;
$custom-dark: #000000;
JSON
{
  "hex": "#87af46",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 82.857,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7027,
    "c": 0.141,
    "h": 127.3
  },
  "luminance": 0.36253
}

Semantic roles & 50–950 ramp

primary
#87AF46
secondary
#A28EC2
accent
#55D385
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #87AF46

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

Preview Lab → · Contrast checker → · Palette generator →

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