#87B13C#87B13C

#87B13C is a light, vivid yellow-green. Relative luminance 0.369; OKLCH L 70.7% C 0.152 H 126.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#87B13C
RGBrgb(135, 177, 60)
HSLhsl(82, 49%, 46%)
HSVhsv(82, 66%, 69%)
CMYKcmyk(23.7%, 0%, 66.1%, 30.6%)
CIE-LABlab(67.22, -31.93, 53.24)
CIE-LCHlch(67.22, 62.08, 120.96°)
OKLaboklab(70.65% -0.0911 0.1213)
OKLCHoklch(70.65% 0.152 126.9)
XYZxyz(26.5295, 36.9210, 10.0028)
Luminance0.3692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B13C #663CB1
analogous
#B1A13C #87B13C #4DB13C
triadic
#87B13C #3C87B1 #B13C87
tetradic
#87B13C #3CB1A1 #663CB1 #B13C4D
square
#87B13C #3CB1A1 #663CB1 #B13C4D
split-complementary
#87B13C #3C4DB1 #A13CB1
monochromatic
#41561D #64832D #87B13C #A4C961 #BED98F

Accessibility & contrast

On white

2.50
#87B13C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#87B13C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B13C
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B13C#FFFFFF#000000##000000
##87B13C1.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA52C
Deuteranopia (green-blind)
#B4A345
Tritanopia (blue-blind)
#8CA999
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87b13c;
/* rgb */ color: rgb(135, 177, 60);
/* oklch */ color: oklch(70.7% 0.152 126.9);
Tailwind
colors: {
  custom: {
    50: '#adc878',
    500: '#87b13c',
    950: '#000000',
  },
}
SCSS
$custom: #87b13c;
$custom-light: #adc878;
$custom-dark: #000000;
JSON
{
  "hex": "#87b13c",
  "rgb": {
    "r": 135,
    "g": 177,
    "b": 60
  },
  "hsl": {
    "h": 81.538,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70651,
    "c": 0.15172,
    "h": 126.9
  },
  "luminance": 0.36921
}

Semantic roles & 50–950 ramp

primary
#87B13C
secondary
#9C85C4
accent
#4FD980
background
#FAFCF7
surface
#F5F8EE
border
#CFD1C9
text
#111309
muted
#80827B

Preview Lab

Preview with #87B13C

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

Preview Lab → · Contrast checker → · Palette generator →

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