#87B031#87B031

#87B031 is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.3% C 0.158 H 126.0°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#87B031
RGBrgb(135, 176, 49)
HSLhsl(79, 56%, 44%)
HSVhsv(79, 72%, 69%)
CMYKcmyk(23.3%, 0%, 72.2%, 31%)
CIE-LABlab(66.84, -32.20, 57.15)
CIE-LCHlch(66.84, 65.60, 119.40°)
OKLaboklab(70.32% -0.0928 0.1279)
OKLCHoklch(70.32% 0.158 126)
XYZxyz(26.0715, 36.4229, 8.5619)
Luminance0.3642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B031 #5A31B0
analogous
#B09A31 #87B031 #48B031
triadic
#87B031 #3187B0 #B03187
tetradic
#87B031 #31B09A #5A31B0 #B03148
square
#87B031 #31B09A #5A31B0 #B03148
split-complementary
#87B031 #3148B0 #9A31B0
monochromatic
#3E5016 #628024 #87B031 #A5CE50 #BEDC80

Accessibility & contrast

On white

2.53
#87B031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#87B031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B031
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B031#FFFFFF#000000##000000
##87B0311.002.538.288.28
#FFFFFF2.531.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41A
Deuteranopia (green-blind)
#B4A23C
Tritanopia (blue-blind)
#8DA897
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #87b031;
/* rgb */ color: rgb(135, 176, 49);
/* oklch */ color: oklch(70.3% 0.158 126.0);
Tailwind
colors: {
  custom: {
    50: '#aec772',
    500: '#87b031',
    950: '#000000',
  },
}
SCSS
$custom: #87b031;
$custom-light: #aec772;
$custom-dark: #000000;
JSON
{
  "hex": "#87b031",
  "rgb": {
    "r": 135,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 79.37,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70321,
    "c": 0.15804,
    "h": 126
  },
  "luminance": 0.36423
}

Semantic roles & 50–950 ramp

primary
#87B031
secondary
#9178C5
accent
#48E079
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B031

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

Preview Lab → · Contrast checker → · Palette generator →

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