#87B62A#87B62A

#87B62A is a light, vivid yellow-green. Relative luminance 0.388; OKLCH L 71.7% C 0.169 H 127.0°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#87B62A
RGBrgb(135, 182, 42)
HSLhsl(80, 63%, 44%)
HSVhsv(80, 77%, 71%)
CMYKcmyk(25.8%, 0%, 76.9%, 28.6%)
CIE-LABlab(68.59, -35.36, 61.23)
CIE-LCHlch(68.59, 70.70, 120.00°)
OKLaboklab(71.72% -0.102 0.1354)
OKLCHoklch(71.72% 0.169 127)
XYZxyz(27.1376, 38.7734, 8.2443)
Luminance0.3877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B62A #592AB6
analogous
#B69F2A #87B62A #41B62A
triadic
#87B62A #2A87B6 #B62A87
tetradic
#87B62A #2AB69F #592AB6 #B62A41
square
#87B62A #2AB69F #592AB6 #B62A41
split-complementary
#87B62A #2A41B6 #9F2AB6
monochromatic
#3D5313 #62841F #87B62A #A6D548 #BEE07A

Accessibility & contrast

On white

2.40
#87B62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#87B62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B62A
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B62A#FFFFFF#000000##000000
##87B62A1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A903
Deuteranopia (green-blind)
#B9A638
Tritanopia (blue-blind)
#8CAD9C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #87b62a;
/* rgb */ color: rgb(135, 182, 42);
/* oklch */ color: oklch(71.7% 0.169 127.0);
Tailwind
colors: {
  custom: {
    50: '#aecc6f',
    500: '#87b62a',
    950: '#000000',
  },
}
SCSS
$custom: #87b62a;
$custom-light: #aecc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#87b62a",
  "rgb": {
    "r": 135,
    "g": 182,
    "b": 42
  },
  "hsl": {
    "h": 80.143,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71724,
    "c": 0.16948,
    "h": 127
  },
  "luminance": 0.38774
}

Semantic roles & 50–950 ramp

primary
#87B62A
secondary
#9073C8
accent
#42E679
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B62A

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

Preview Lab → · Contrast checker → · Palette generator →

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