#87B831#87B831

#87B831 is a light, vivid yellow-green. Relative luminance 0.397; OKLCH L 72.3% C 0.168 H 127.8°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#87B831
RGBrgb(135, 184, 49)
HSLhsl(82, 58%, 46%)
HSVhsv(82, 73%, 72%)
CMYKcmyk(26.6%, 0%, 73.4%, 27.8%)
CIE-LABlab(69.22, -35.89, 59.49)
CIE-LCHlch(69.22, 69.48, 121.10°)
OKLaboklab(72.25% -0.1029 0.1328)
OKLCHoklch(72.25% 0.168 127.8)
XYZxyz(27.6866, 39.6530, 9.1002)
Luminance0.3965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B831 #6231B8
analogous
#B8A531 #87B831 #43B831
triadic
#87B831 #3187B8 #B83187
tetradic
#87B831 #31B8A5 #6231B8 #B83143
square
#87B831 #31B8A5 #6231B8 #B83143
split-complementary
#87B831 #3143B8 #A531B8
monochromatic
#405717 #648824 #87B831 #A4D255 #BEDE85

Accessibility & contrast

On white

2.35
#87B831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#87B831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B831
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B831#FFFFFF#000000##000000
##87B8311.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB17
Deuteranopia (green-blind)
#BBA83E
Tritanopia (blue-blind)
#8CB09E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #87b831;
/* rgb */ color: rgb(135, 184, 49);
/* oklch */ color: oklch(72.3% 0.168 127.8);
Tailwind
colors: {
  custom: {
    50: '#aecd72',
    500: '#87b831',
    950: '#000000',
  },
}
SCSS
$custom: #87b831;
$custom-light: #aecd72;
$custom-dark: #000000;
JSON
{
  "hex": "#87b831",
  "rgb": {
    "r": 135,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 81.778,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72252,
    "c": 0.16801,
    "h": 127.8
  },
  "luminance": 0.39654
}

Semantic roles & 50–950 ramp

primary
#87B831
secondary
#987DC8
accent
#47E17F
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B831

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

Preview Lab → · Contrast checker → · Palette generator →

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