#87B127#87B127

#87B127 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.5% C 0.165 H 125.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#87B127
RGBrgb(135, 177, 39)
HSLhsl(78, 64%, 42%)
HSVhsv(78, 78%, 69%)
CMYKcmyk(23.7%, 0%, 78%, 30.6%)
CIE-LABlab(67.08, -33.21, 60.77)
CIE-LCHlch(67.08, 69.25, 118.65°)
OKLaboklab(70.5% -0.0963 0.1339)
OKLCHoklch(70.5% 0.165 125.7)
XYZxyz(26.0802, 36.7413, 7.6368)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B127 #5127B1
analogous
#B19627 #87B127 #42B127
triadic
#87B127 #2787B1 #B12787
tetradic
#87B127 #27B196 #5127B1 #B12742
square
#87B127 #27B196 #5127B1 #B12742
split-complementary
#87B127 #2742B1 #9627B1
monochromatic
#3B4D11 #617F1C #87B127 #A8D540 #BFE072

Accessibility & contrast

On white

2.52
#87B127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#87B127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B127
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B127#FFFFFF#000000##000000
##87B1271.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87b127;
/* rgb */ color: rgb(135, 177, 39);
/* oklch */ color: oklch(70.5% 0.165 125.7);
Tailwind
colors: {
  custom: {
    50: '#aec86d',
    500: '#87b127',
    950: '#000000',
  },
}
SCSS
$custom: #87b127;
$custom-light: #aec86d;
$custom-dark: #000000;
JSON
{
  "hex": "#87b127",
  "rgb": {
    "r": 135,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 78.261,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70498,
    "c": 0.16497,
    "h": 125.7
  },
  "luminance": 0.36742
}

Semantic roles & 50–950 ramp

primary
#87B127
secondary
#886DC7
accent
#41E773
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #87B127

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

Preview Lab → · Contrast checker → · Palette generator →

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