#87B451#87B451

#87B451 is a light, vivid yellow-green. Relative luminance 0.384; OKLCH L 71.6% C 0.138 H 129.6°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#87B451
RGBrgb(135, 180, 81)
HSLhsl(87, 40%, 51%)
HSVhsv(87, 55%, 71%)
CMYKcmyk(25%, 0%, 55%, 29.4%)
CIE-LABlab(68.30, -31.49, 45.07)
CIE-LCHlch(68.30, 54.98, 124.95°)
OKLaboklab(71.6% -0.0881 0.1063)
OKLCHoklch(71.6% 0.138 129.6)
XYZxyz(27.7979, 38.3869, 13.7278)
Luminance0.3839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B451 #7E51B4
analogous
#B4AF51 #87B451 #55B451
triadic
#87B451 #5187B4 #B45187
tetradic
#87B451 #51B4AF #7E51B4 #B45155
square
#87B451 #51B4AF #7E51B4 #B45155
split-complementary
#87B451 #5155B4 #AF51B4
monochromatic
#48612A #688C3C #87B451 #A4C67C #C2D9A7

Accessibility & contrast

On white

2.42
#87B451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#87B451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B451
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B451#FFFFFF#000000##000000
##87B4511.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA947
Deuteranopia (green-blind)
#B5A558
Tritanopia (blue-blind)
#8AAD9E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #87b451;
/* rgb */ color: rgb(135, 180, 81);
/* oklch */ color: oklch(71.6% 0.138 129.6);
Tailwind
colors: {
  custom: {
    50: '#acca85',
    500: '#87b451',
    950: '#000000',
  },
}
SCSS
$custom: #87b451;
$custom-light: #acca85;
$custom-dark: #000000;
JSON
{
  "hex": "#87b451",
  "rgb": {
    "r": 135,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 87.273,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.71595,
    "c": 0.13803,
    "h": 129.6
  },
  "luminance": 0.38387
}

Semantic roles & 50–950 ramp

primary
#87B451
secondary
#AE9BC6
accent
#58D08E
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #87B451

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

Preview Lab → · Contrast checker → · Palette generator →

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