#87AF38#87AF38

#87AF38 is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 70.1% C 0.152 H 126.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#87AF38
RGBrgb(135, 175, 56)
HSLhsl(80, 52%, 45%)
HSVhsv(80, 68%, 69%)
CMYKcmyk(22.9%, 0%, 68%, 31.4%)
CIE-LABlab(66.59, -31.28, 54.21)
CIE-LCHlch(66.59, 62.59, 119.99°)
OKLaboklab(70.14% -0.0897 0.1228)
OKLCHoklch(70.14% 0.152 126.1)
XYZxyz(26.0355, 36.0960, 9.3362)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF38 #6038AF
analogous
#AF9B38 #87AF38 #4CAF38
triadic
#87AF38 #3887AF #AF3887
tetradic
#87AF38 #38AF9B #6038AF #AF384C
square
#87AF38 #38AF9B #6038AF #AF384C
split-complementary
#87AF38 #384CAF #9B38AF
monochromatic
#3F521A #638129 #87AF38 #A4CA5A #BED988

Accessibility & contrast

On white

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

On black

8.22
#87AF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AF38
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AF38#FFFFFF#000000##000000
##87AF381.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87af38;
/* rgb */ color: rgb(135, 175, 56);
/* oklch */ color: oklch(70.1% 0.152 126.1);
Tailwind
colors: {
  custom: {
    50: '#adc775',
    500: '#87af38',
    950: '#000000',
  },
}
SCSS
$custom: #87af38;
$custom-light: #adc775;
$custom-dark: #000000;
JSON
{
  "hex": "#87af38",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 80.168,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70135,
    "c": 0.15206,
    "h": 126.1
  },
  "luminance": 0.36096
}

Semantic roles & 50–950 ramp

primary
#87AF38
secondary
#9680C3
accent
#4DDB7D
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87AF38

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

Preview Lab → · Contrast checker → · Palette generator →

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