#87B131#87B131

#87B131 is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.6% C 0.159 H 126.2°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#87B131
RGBrgb(135, 177, 49)
HSLhsl(80, 57%, 44%)
HSVhsv(80, 72%, 69%)
CMYKcmyk(23.7%, 0%, 72.3%, 30.6%)
CIE-LABlab(67.14, -32.67, 57.44)
CIE-LCHlch(67.14, 66.08, 119.63°)
OKLaboklab(70.56% -0.0941 0.1285)
OKLCHoklch(70.56% 0.159 126.2)
XYZxyz(26.2683, 36.8165, 8.6275)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B131 #5B31B1
analogous
#B19B31 #87B131 #47B131
triadic
#87B131 #3187B1 #B13187
tetradic
#87B131 #31B19B #5B31B1 #B13147
square
#87B131 #31B19B #5B31B1 #B13147
split-complementary
#87B131 #3147B1 #9B31B1
monochromatic
#3E5116 #628124 #87B131 #A5CF51 #BEDC80

Accessibility & contrast

On white

2.51
#87B131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#87B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B131
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B131#FFFFFF#000000##000000
##87B1311.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51A
Deuteranopia (green-blind)
#B5A33C
Tritanopia (blue-blind)
#8DA998
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #87b131;
/* rgb */ color: rgb(135, 177, 49);
/* oklch */ color: oklch(70.6% 0.159 126.2);
Tailwind
colors: {
  custom: {
    50: '#aec872',
    500: '#87b131',
    950: '#000000',
  },
}
SCSS
$custom: #87b131;
$custom-light: #aec872;
$custom-dark: #000000;
JSON
{
  "hex": "#87b131",
  "rgb": {
    "r": 135,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 79.688,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70562,
    "c": 0.1593,
    "h": 126.2
  },
  "luminance": 0.36817
}

Semantic roles & 50–950 ramp

primary
#87B131
secondary
#9279C5
accent
#48E07A
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B131

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

Preview Lab → · Contrast checker → · Palette generator →

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