#87B42E#87B42E

#87B42E 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#87B42E
RGBrgb(135, 180, 46)
HSLhsl(80, 59%, 44%)
HSVhsv(80, 74%, 71%)
CMYKcmyk(25%, 0%, 74.4%, 29.4%)
CIE-LABlab(68.01, -34.23, 59.36)
CIE-LCHlch(68.01, 68.52, 119.97°)
OKLaboklab(71.27% -0.0986 0.1321)
OKLCHoklch(71.27% 0.165 126.7)
XYZxyz(26.8062, 37.9902, 8.5048)
Luminance0.3799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B42E #5B2EB4
analogous
#B49E2E #87B42E #44B42E
triadic
#87B42E #2E87B4 #B42E87
tetradic
#87B42E #2EB49E #5B2EB4 #B42E44
square
#87B42E #2EB49E #5B2EB4 #B42E44
split-complementary
#87B42E #2E44B4 #9E2EB4
monochromatic
#3E5315 #628322 #87B42E #A5D24E #BEDE7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87B42E#FFFFFF#000000##000000
##87B42E1.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)
#BDA812
Deuteranopia (green-blind)
#B7A53B
Tritanopia (blue-blind)
#8CAB9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #87b42e;
/* rgb */ color: rgb(135, 180, 46);
/* oklch */ color: oklch(71.3% 0.165 126.7);
Tailwind
colors: {
  custom: {
    50: '#aeca71',
    500: '#87b42e',
    950: '#000000',
  },
}
SCSS
$custom: #87b42e;
$custom-light: #aeca71;
$custom-dark: #000000;
JSON
{
  "hex": "#87b42e",
  "rgb": {
    "r": 135,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 80.149,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71265,
    "c": 0.16482,
    "h": 126.7
  },
  "luminance": 0.37991
}

Semantic roles & 50–950 ramp

primary
#87B42E
secondary
#9277C7
accent
#45E27A
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B42E

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

Preview Lab → · Contrast checker → · Palette generator →

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