#87B027#87B027

#87B027 is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.3% C 0.164 H 125.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#87B027
RGBrgb(135, 176, 39)
HSLhsl(78, 64%, 42%)
HSVhsv(78, 78%, 69%)
CMYKcmyk(23.3%, 0%, 77.8%, 31%)
CIE-LABlab(66.78, -32.74, 60.49)
CIE-LCHlch(66.78, 68.78, 118.43°)
OKLaboklab(70.26% -0.0951 0.1333)
OKLCHoklch(70.26% 0.164 125.5)
XYZxyz(25.8834, 36.3477, 7.5712)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B027 #5027B0
analogous
#B09527 #87B027 #43B027
triadic
#87B027 #2787B0 #B02787
tetradic
#87B027 #27B095 #5027B0 #B02743
square
#87B027 #27B095 #5027B0 #B02743
split-complementary
#87B027 #2743B0 #9527B0
monochromatic
#3A4C11 #617E1C #87B027 #A8D540 #BFE072

Accessibility & contrast

On white

2.54
#87B027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#87B027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B027
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B027#FFFFFF#000000##000000
##87B0271.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B4A235
Tritanopia (blue-blind)
#8DA797
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87b027;
/* rgb */ color: rgb(135, 176, 39);
/* oklch */ color: oklch(70.3% 0.164 125.5);
Tailwind
colors: {
  custom: {
    50: '#aec76d',
    500: '#87b027',
    950: '#000000',
  },
}
SCSS
$custom: #87b027;
$custom-light: #aec76d;
$custom-dark: #000000;
JSON
{
  "hex": "#87b027",
  "rgb": {
    "r": 135,
    "g": 176,
    "b": 39
  },
  "hsl": {
    "h": 77.956,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70257,
    "c": 0.16375,
    "h": 125.5
  },
  "luminance": 0.36348
}

Semantic roles & 50–950 ramp

primary
#87B027
secondary
#876CC7
accent
#41E773
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #87B027

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

Preview Lab → · Contrast checker → · Palette generator →

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