#87AF2B#87AF2B

#87AF2B is a light, vivid yellow-green. Relative luminance 0.360; OKLCH L 70.0% C 0.160 H 125.4°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#87AF2B
RGBrgb(135, 175, 43)
HSLhsl(78, 61%, 43%)
HSVhsv(78, 75%, 69%)
CMYKcmyk(22.9%, 0%, 75.4%, 31.4%)
CIE-LABlab(66.51, -32.08, 58.93)
CIE-LCHlch(66.51, 67.10, 118.56°)
OKLaboklab(70.04% -0.0929 0.1307)
OKLCHoklch(70.04% 0.16 125.4)
XYZxyz(25.7579, 35.9849, 7.8738)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF2B #532BAF
analogous
#AF952B #87AF2B #45AF2B
triadic
#87AF2B #2B87AF #AF2B87
tetradic
#87AF2B #2BAF95 #532BAF #AF2B45
square
#87AF2B #2BAF95 #532BAF #AF2B45
split-complementary
#87AF2B #2B45AF #952BAF
monochromatic
#3B4D13 #617E1F #87AF2B #A7D146 #BEDE77

Accessibility & contrast

On white

2.56
#87AF2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#87AF2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AF2B
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AF2B#FFFFFF#000000##000000
##87AF2B1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A30C
Deuteranopia (green-blind)
#B3A138
Tritanopia (blue-blind)
#8DA696
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af2b;
/* rgb */ color: rgb(135, 175, 43);
/* oklch */ color: oklch(70.0% 0.160 125.4);
Tailwind
colors: {
  custom: {
    50: '#aec76e',
    500: '#87af2b',
    950: '#000000',
  },
}
SCSS
$custom: #87af2b;
$custom-light: #aec76e;
$custom-dark: #000000;
JSON
{
  "hex": "#87af2b",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 78.182,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.7004,
    "c": 0.16039,
    "h": 125.4
  },
  "luminance": 0.35985
}

Semantic roles & 50–950 ramp

primary
#87AF2B
secondary
#8A70C5
accent
#44E474
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87AF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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