#87B42B#87B42B

#87B42B is a light, vivid yellow-green. Relative luminance 0.380; OKLCH L 71.2% C 0.167 H 126.6°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#87B42B
RGBrgb(135, 180, 43)
HSLhsl(80, 61%, 44%)
HSVhsv(80, 76%, 71%)
CMYKcmyk(25%, 0%, 76.1%, 29.4%)
CIE-LABlab(68.00, -34.39, 60.35)
CIE-LCHlch(68.00, 69.46, 119.68°)
OKLaboklab(71.25% -0.0993 0.1337)
OKLCHoklch(71.25% 0.167 126.6)
XYZxyz(26.7491, 37.9674, 8.2042)
Luminance0.3797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B42B #582BB4
analogous
#B49C2B #87B42B #42B42B
triadic
#87B42B #2B87B4 #B42B87
tetradic
#87B42B #2BB49C #582BB4 #B42B42
square
#87B42B #2BB49C #582BB4 #B42B42
split-complementary
#87B42B #2B42B4 #9C2BB4
monochromatic
#3D5113 #62831F #87B42B #A6D349 #BEDF7A

Accessibility & contrast

On white

2.44
#87B42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#87B42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B42B
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B42B#FFFFFF#000000##000000
##87B42B1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA808
Deuteranopia (green-blind)
#B7A538
Tritanopia (blue-blind)
#8DAB9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #87b42b;
/* rgb */ color: rgb(135, 180, 43);
/* oklch */ color: oklch(71.2% 0.167 126.6);
Tailwind
colors: {
  custom: {
    50: '#aeca6f',
    500: '#87b42b',
    950: '#000000',
  },
}
SCSS
$custom: #87b42b;
$custom-light: #aeca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#87b42b",
  "rgb": {
    "r": 135,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 79.708,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71246,
    "c": 0.1665,
    "h": 126.6
  },
  "luminance": 0.37968
}

Semantic roles & 50–950 ramp

primary
#87B42B
secondary
#8F73C7
accent
#43E578
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B42B

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

Preview Lab → · Contrast checker → · Palette generator →

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