#87B416#87B416

#87B416 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.1% C 0.175 H 125.9°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#87B416
RGBrgb(135, 180, 22)
HSLhsl(77, 78%, 40%)
HSVhsv(77, 88%, 71%)
CMYKcmyk(25%, 0%, 87.8%, 29.4%)
CIE-LABlab(67.91, -35.21, 65.83)
CIE-LCHlch(67.91, 74.66, 118.14°)
OKLaboklab(71.15% -0.1028 0.1421)
OKLCHoklch(71.15% 0.175 125.9)
XYZxyz(26.4580, 37.8509, 6.6709)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B416 #4316B4
analogous
#B49216 #87B416 #38B416
triadic
#87B416 #1687B4 #B41687
tetradic
#87B416 #16B492 #4316B4 #B41638
square
#87B416 #16B492 #4316B4 #B41638
split-complementary
#87B416 #1638B4 #9216B4
monochromatic
#354709 #5E7D0F #87B416 #ADE423 #C1EB5A

Accessibility & contrast

On white

2.45
#87B416 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#87B416 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B416
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B416#FFFFFF#000000##000000
##87B4161.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#B8A52B
Tritanopia (blue-blind)
#8DAB99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87b416;
/* rgb */ color: rgb(135, 180, 22);
/* oklch */ color: oklch(71.1% 0.175 125.9);
Tailwind
colors: {
  custom: {
    50: '#afca67',
    500: '#87b416',
    950: '#000000',
  },
}
SCSS
$custom: #87b416;
$custom-light: #afca67;
$custom-dark: #000000;
JSON
{
  "hex": "#87b416",
  "rgb": {
    "r": 135,
    "g": 180,
    "b": 22
  },
  "hsl": {
    "h": 77.089,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.71149,
    "c": 0.17537,
    "h": 125.9
  },
  "luminance": 0.37851
}

Semantic roles & 50–950 ramp

primary
#87B416
secondary
#7958CE
accent
#33F56A
background
#FBFCF6
surface
#F6F8EB
border
#D0D1C6
text
#111307
muted
#80827A

Preview Lab

Preview with #87B416

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

Preview Lab → · Contrast checker → · Palette generator →

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