#87AF2F#87AF2F

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

Color values

HEX#87AF2F
RGBrgb(135, 175, 47)
HSLhsl(79, 58%, 44%)
HSVhsv(79, 73%, 69%)
CMYKcmyk(22.9%, 0%, 73.1%, 31.4%)
CIE-LABlab(66.53, -31.85, 57.57)
CIE-LCHlch(66.53, 65.79, 118.96°)
OKLaboklab(70.07% -0.092 0.1285)
OKLCHoklch(70.07% 0.158 125.6)
XYZxyz(25.8349, 36.0157, 8.2794)
Luminance0.3602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF2F #572FAF
analogous
#AF972F #87AF2F #47AF2F
triadic
#87AF2F #2F87AF #AF2F87
tetradic
#87AF2F #2FAF97 #572FAF #AF2F47
square
#87AF2F #2FAF97 #572FAF #AF2F47
split-complementary
#87AF2F #2F47AF #972FAF
monochromatic
#3D4F15 #627F22 #87AF2F #A6CF4C #BEDC7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87AF2F#FFFFFF#000000##000000
##87AF2F1.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)
#B9A317
Deuteranopia (green-blind)
#B3A13B
Tritanopia (blue-blind)
#8DA796
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af2f;
/* rgb */ color: rgb(135, 175, 47);
/* oklch */ color: oklch(70.1% 0.158 125.6);
Tailwind
colors: {
  custom: {
    50: '#aec770',
    500: '#87af2f',
    950: '#000000',
  },
}
SCSS
$custom: #87af2f;
$custom-light: #aec770;
$custom-dark: #000000;
JSON
{
  "hex": "#87af2f",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 78.75,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70066,
    "c": 0.15803,
    "h": 125.6
  },
  "luminance": 0.36016
}

Semantic roles & 50–950 ramp

primary
#87AF2F
secondary
#8E75C4
accent
#47E177
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87AF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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