#87B41B#87B41B

#87B41B 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#87B41B
RGBrgb(135, 180, 27)
HSLhsl(78, 74%, 41%)
HSVhsv(78, 85%, 71%)
CMYKcmyk(25%, 0%, 85%, 29.4%)
CIE-LABlab(67.93, -35.06, 64.77)
CIE-LCHlch(67.93, 73.65, 118.43°)
OKLaboklab(71.17% -0.1021 0.1405)
OKLCHoklch(71.17% 0.174 126)
XYZxyz(26.5110, 37.8721, 6.9500)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B41B #481BB4
analogous
#B4941B #87B41B #3AB41B
triadic
#87B41B #1B87B4 #B41B87
tetradic
#87B41B #1BB494 #481BB4 #B41B3A
square
#87B41B #1BB494 #481BB4 #B41B3A
split-complementary
#87B41B #1B3AB4 #941BB4
monochromatic
#374A0B #5F7F13 #87B41B #ABDF2D #C0E762

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #87b41b;
/* rgb */ color: rgb(135, 180, 27);
/* oklch */ color: oklch(71.2% 0.174 126.0);
Tailwind
colors: {
  custom: {
    50: '#afca69',
    500: '#87b41b',
    950: '#000000',
  },
}
SCSS
$custom: #87b41b;
$custom-light: #afca69;
$custom-dark: #000000;
JSON
{
  "hex": "#87b41b",
  "rgb": {
    "r": 135,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 77.647,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71167,
    "c": 0.17372,
    "h": 126
  },
  "luminance": 0.37873
}

Semantic roles & 50–950 ramp

primary
#87B41B
secondary
#7F5FCC
accent
#37F16E
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #87B41B

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

Preview Lab → · Contrast checker → · Palette generator →

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