#87B41E#87B41E

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

Color values

HEX#87B41E
RGBrgb(135, 180, 30)
HSLhsl(78, 71%, 41%)
HSVhsv(78, 83%, 71%)
CMYKcmyk(25%, 0%, 83.3%, 29.4%)
CIE-LABlab(67.94, -34.96, 64.06)
CIE-LCHlch(67.94, 72.98, 118.62°)
OKLaboklab(71.18% -0.1017 0.1395)
OKLCHoklch(71.18% 0.173 126.1)
XYZxyz(26.5475, 37.8867, 7.1423)
Luminance0.3789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B41E #4B1EB4
analogous
#B4961E #87B41E #3CB41E
triadic
#87B41E #1E87B4 #B41E87
tetradic
#87B41E #1EB496 #4B1EB4 #B41E3C
square
#87B41E #1EB496 #4B1EB4 #B41E3C
split-complementary
#87B41E #1E3CB4 #961EB4
monochromatic
#384B0D #608015 #87B41E #AADD32 #C0E667

Accessibility & contrast

On white

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

On black

8.58
#87B41E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B41E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B41E#FFFFFF#000000##000000
##87B41E1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87b41e;
/* rgb */ color: rgb(135, 180, 30);
/* oklch */ color: oklch(71.2% 0.173 126.1);
Tailwind
colors: {
  custom: {
    50: '#aeca6a',
    500: '#87b41e',
    950: '#000000',
  },
}
SCSS
$custom: #87b41e;
$custom-light: #aeca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#87b41e",
  "rgb": {
    "r": 135,
    "g": 180,
    "b": 30
  },
  "hsl": {
    "h": 78,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.71179,
    "c": 0.17259,
    "h": 126.1
  },
  "luminance": 0.37887
}

Semantic roles & 50–950 ramp

primary
#87B41E
secondary
#8263CB
accent
#3AEE70
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #87B41E

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

Preview Lab → · Contrast checker → · Palette generator →

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