#87B42D#87B42D

#87B42D is a light, vivid yellow-green. Relative luminance 0.380; OKLCH L 71.3% C 0.165 H 126.7°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#87B42D
RGBrgb(135, 180, 45)
HSLhsl(80, 60%, 44%)
HSVhsv(80, 75%, 71%)
CMYKcmyk(25%, 0%, 75%, 29.4%)
CIE-LABlab(68.01, -34.29, 59.69)
CIE-LCHlch(68.01, 68.84, 119.87°)
OKLaboklab(71.26% -0.0988 0.1326)
OKLCHoklch(71.26% 0.165 126.7)
XYZxyz(26.7867, 37.9824, 8.4022)
Luminance0.3798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B42D #5A2DB4
analogous
#B49E2D #87B42D #44B42D
triadic
#87B42D #2D87B4 #B42D87
tetradic
#87B42D #2DB49E #5A2DB4 #B42D44
square
#87B42D #2DB49E #5A2DB4 #B42D44
split-complementary
#87B42D #2D44B4 #9E2DB4
monochromatic
#3E5215 #628321 #87B42D #A5D24C #BEDE7D

Accessibility & contrast

On white

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

On black

8.60
#87B42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B42D
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B42D#FFFFFF#000000##000000
##87B42D1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87b42d;
/* rgb */ color: rgb(135, 180, 45);
/* oklch */ color: oklch(71.3% 0.165 126.7);
Tailwind
colors: {
  custom: {
    50: '#aeca70',
    500: '#87b42d',
    950: '#000000',
  },
}
SCSS
$custom: #87b42d;
$custom-light: #aeca70;
$custom-dark: #000000;
JSON
{
  "hex": "#87b42d",
  "rgb": {
    "r": 135,
    "g": 180,
    "b": 45
  },
  "hsl": {
    "h": 80,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71259,
    "c": 0.1654,
    "h": 126.7
  },
  "luminance": 0.37983
}

Semantic roles & 50–950 ramp

primary
#87B42D
secondary
#9176C7
accent
#45E379
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B42D

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

Preview Lab → · Contrast checker → · Palette generator →

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