#87B41A#87B41A

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

Color values

HEX#87B41A
RGBrgb(135, 180, 26)
HSLhsl(78, 75%, 40%)
HSVhsv(78, 86%, 71%)
CMYKcmyk(25%, 0%, 85.6%, 29.4%)
CIE-LABlab(67.92, -35.10, 65.00)
CIE-LCHlch(67.92, 73.87, 118.37°)
OKLaboklab(71.16% -0.1023 0.1409)
OKLCHoklch(71.16% 0.174 126)
XYZxyz(26.4996, 37.8676, 6.8901)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B41A #471AB4
analogous
#B4941A #87B41A #3AB41A
triadic
#87B41A #1A87B4 #B41A87
tetradic
#87B41A #1AB494 #471AB4 #B41A3A
square
#87B41A #1AB494 #471AB4 #B41A3A
split-complementary
#87B41A #1A3AB4 #941AB4
monochromatic
#37490B #5F7F12 #87B41A #ABE02B #C0E860

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87B41A#FFFFFF#000000##000000
##87B41A1.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)
#B8A52D
Tritanopia (blue-blind)
#8DAB99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87b41a;
/* rgb */ color: rgb(135, 180, 26);
/* oklch */ color: oklch(71.2% 0.174 126.0);
Tailwind
colors: {
  custom: {
    50: '#afca68',
    500: '#87b41a',
    950: '#000000',
  },
}
SCSS
$custom: #87b41a;
$custom-light: #afca68;
$custom-dark: #000000;
JSON
{
  "hex": "#87b41a",
  "rgb": {
    "r": 135,
    "g": 180,
    "b": 26
  },
  "hsl": {
    "h": 77.532,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.71163,
    "c": 0.17407,
    "h": 126
  },
  "luminance": 0.37868
}

Semantic roles & 50–950 ramp

primary
#87B41A
secondary
#7E5DCC
accent
#36F16D
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #87B41A

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

Preview Lab → · Contrast checker → · Palette generator →

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