#87B227#87B227

#87B227 is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.7% C 0.166 H 126.0°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#87B227
RGBrgb(135, 178, 39)
HSLhsl(79, 64%, 43%)
HSVhsv(79, 78%, 70%)
CMYKcmyk(24.2%, 0%, 78.1%, 30.2%)
CIE-LABlab(67.38, -33.67, 61.04)
CIE-LCHlch(67.38, 69.71, 118.88°)
OKLaboklab(70.74% -0.0976 0.1345)
OKLCHoklch(70.74% 0.166 126)
XYZxyz(26.2785, 37.1378, 7.7029)
Luminance0.3714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B227 #5227B2
analogous
#B29727 #87B227 #42B227
triadic
#87B227 #2787B2 #B22787
tetradic
#87B227 #27B297 #5227B2 #B22742
square
#87B227 #27B297 #5227B2 #B22742
split-complementary
#87B227 #2742B2 #9727B2
monochromatic
#3B4E11 #61801C #87B227 #A7D541 #BFE073

Accessibility & contrast

On white

2.49
#87B227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#87B227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B227
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B227#FFFFFF#000000##000000
##87B2271.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#B6A335
Tritanopia (blue-blind)
#8DA998
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87b227;
/* rgb */ color: rgb(135, 178, 39);
/* oklch */ color: oklch(70.7% 0.166 126.0);
Tailwind
colors: {
  custom: {
    50: '#aec96d',
    500: '#87b227',
    950: '#000000',
  },
}
SCSS
$custom: #87b227;
$custom-light: #aec96d;
$custom-dark: #000000;
JSON
{
  "hex": "#87b227",
  "rgb": {
    "r": 135,
    "g": 178,
    "b": 39
  },
  "hsl": {
    "h": 78.561,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.7074,
    "c": 0.16617,
    "h": 126
  },
  "luminance": 0.37138
}

Semantic roles & 50–950 ramp

primary
#87B227
secondary
#896DC8
accent
#41E774
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #87B227

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

Preview Lab → · Contrast checker → · Palette generator →

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