#87AF3B#87AF3B

#87AF3B is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 70.2% C 0.150 H 126.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#87AF3B
RGBrgb(135, 175, 59)
HSLhsl(81, 50%, 46%)
HSVhsv(81, 66%, 69%)
CMYKcmyk(22.9%, 0%, 66.3%, 31.4%)
CIE-LABlab(66.62, -31.07, 53.01)
CIE-LCHlch(66.62, 61.45, 120.37°)
OKLaboklab(70.16% -0.0888 0.1207)
OKLCHoklch(70.16% 0.15 126.3)
XYZxyz(26.1111, 36.1262, 9.7342)
Luminance0.3613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF3B #633BAF
analogous
#AF9D3B #87AF3B #4DAF3B
triadic
#87AF3B #3B87AF #AF3B87
tetradic
#87AF3B #3BAF9D #633BAF #AF3B4D
square
#87AF3B #3BAF9D #633BAF #AF3B4D
split-complementary
#87AF3B #3B4DAF #9D3BAF
monochromatic
#40531C #64812C #87AF3B #A4C95E #BED88C

Accessibility & contrast

On white

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

On black

8.23
#87AF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AF3B
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AF3B#FFFFFF#000000##000000
##87AF3B1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42B
Deuteranopia (green-blind)
#B2A144
Tritanopia (blue-blind)
#8CA797
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af3b;
/* rgb */ color: rgb(135, 175, 59);
/* oklch */ color: oklch(70.2% 0.150 126.3);
Tailwind
colors: {
  custom: {
    50: '#adc777',
    500: '#87af3b',
    950: '#000000',
  },
}
SCSS
$custom: #87af3b;
$custom-light: #adc777;
$custom-dark: #000000;
JSON
{
  "hex": "#87af3b",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 80.69,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70161,
    "c": 0.14987,
    "h": 126.3
  },
  "luminance": 0.36127
}

Semantic roles & 50–950 ramp

primary
#87AF3B
secondary
#9983C3
accent
#4FD97E
background
#FAFCF7
surface
#F5F8ED
border
#CFD1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87AF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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