#87B322#87B322

#87B322 is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.0% C 0.170 H 126.0°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#87B322
RGBrgb(135, 179, 34)
HSLhsl(78, 68%, 42%)
HSVhsv(78, 81%, 70%)
CMYKcmyk(24.6%, 0%, 81%, 29.8%)
CIE-LABlab(67.66, -34.35, 62.76)
CIE-LCHlch(67.66, 71.54, 118.69°)
OKLaboklab(70.96% -0.0998 0.1373)
OKLCHoklch(70.96% 0.17 126)
XYZxyz(26.4007, 37.5062, 7.3616)
Luminance0.3751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B322 #4E22B3
analogous
#B39722 #87B322 #3FB322
triadic
#87B322 #2287B3 #B32287
tetradic
#87B322 #22B397 #4E22B3 #B3223F
square
#87B322 #22B397 #4E22B3 #B3223F
split-complementary
#87B322 #223FB3 #9722B3
monochromatic
#394C0E #608018 #87B322 #A9D939 #BFE36C

Accessibility & contrast

On white

2.47
#87B322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#87B322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B322
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B322#FFFFFF#000000##000000
##87B3221.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#B7A432
Tritanopia (blue-blind)
#8DAA99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87b322;
/* rgb */ color: rgb(135, 179, 34);
/* oklch */ color: oklch(71.0% 0.170 126.0);
Tailwind
colors: {
  custom: {
    50: '#aeca6b',
    500: '#87b322',
    950: '#000000',
  },
}
SCSS
$custom: #87b322;
$custom-light: #aeca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#87b322",
  "rgb": {
    "r": 135,
    "g": 179,
    "b": 34
  },
  "hsl": {
    "h": 78.207,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70955,
    "c": 0.16974,
    "h": 126
  },
  "luminance": 0.37507
}

Semantic roles & 50–950 ramp

primary
#87B322
secondary
#8568C9
accent
#3DEB72
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #87B322

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

Preview Lab → · Contrast checker → · Palette generator →

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