#87B72D#87B72D

#87B72D is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 72.0% C 0.169 H 127.3°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#87B72D
RGBrgb(135, 183, 45)
HSLhsl(81, 61%, 45%)
HSVhsv(81, 75%, 72%)
CMYKcmyk(26.2%, 0%, 75.4%, 28.2%)
CIE-LABlab(68.90, -35.66, 60.55)
CIE-LCHlch(68.90, 70.27, 120.49°)
OKLaboklab(71.98% -0.1026 0.1344)
OKLCHoklch(71.98% 0.169 127.3)
XYZxyz(27.3989, 39.2068, 8.6063)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B72D #5D2DB7
analogous
#B7A22D #87B72D #42B72D
triadic
#87B72D #2D87B7 #B72D87
tetradic
#87B72D #2DB7A2 #5D2DB7 #B72D42
square
#87B72D #2DB7A2 #5D2DB7 #B72D42
split-complementary
#87B72D #2D42B7 #A22DB7
monochromatic
#3F5515 #638621 #87B72D #A5D34E #BEDF7F

Accessibility & contrast

On white

2.38
#87B72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#87B72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B72D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B72D#FFFFFF#000000##000000
##87B72D1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA0D
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#8CAE9D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #87b72d;
/* rgb */ color: rgb(135, 183, 45);
/* oklch */ color: oklch(72.0% 0.169 127.3);
Tailwind
colors: {
  custom: {
    50: '#aecc70',
    500: '#87b72d',
    950: '#000000',
  },
}
SCSS
$custom: #87b72d;
$custom-light: #aecc70;
$custom-dark: #000000;
JSON
{
  "hex": "#87b72d",
  "rgb": {
    "r": 135,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 80.87,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71984,
    "c": 0.16909,
    "h": 127.3
  },
  "luminance": 0.39207
}

Semantic roles & 50–950 ramp

primary
#87B72D
secondary
#9478C8
accent
#44E47C
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B72D

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

Preview Lab → · Contrast checker → · Palette generator →

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