#87E012#87E012

#87E012 is a light, highly saturated yellow-green. Relative luminance 0.585; OKLCH L 81.8% C 0.226 H 132.6°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#87E012
RGBrgb(135, 224, 18)
HSLhsl(86, 85%, 47%)
HSVhsv(86, 92%, 88%)
CMYKcmyk(39.7%, 0%, 92%, 12.2%)
CIE-LABlab(81.02, -53.90, 77.25)
CIE-LCHlch(81.02, 94.20, 124.90°)
OKLaboklab(81.84% -0.153 0.1664)
OKLCHoklch(81.84% 0.226 132.6)
XYZxyz(36.7561, 58.5041, 9.9279)
Luminance0.5851 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87E012 #6B12E0
analogous
#E0D212 #87E012 #20E012
triadic
#87E012 #1287E0 #E01287
tetradic
#87E012 #12E0D2 #6B12E0 #E01220
square
#87E012 #12E0D2 #6B12E0 #E01220
split-complementary
#87E012 #1220E0 #D212E0
monochromatic
#436F09 #65A70D #87E012 #A4F040 #BFF478

Accessibility & contrast

On white

1.65
#87E012 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#87E012 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87E012
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87E012#FFFFFF#000000##000000
##87E0121.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACE00
Deuteranopia (green-blind)
#DEC735
Tritanopia (blue-blind)
#88D6BF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #87e012;
/* rgb */ color: rgb(135, 224, 18);
/* oklch */ color: oklch(81.8% 0.226 132.6);
Tailwind
colors: {
  custom: {
    50: '#b2ea6d',
    500: '#87e012',
    950: '#000000',
  },
}
SCSS
$custom: #87e012;
$custom-light: #b2ea6d;
$custom-dark: #000000;
JSON
{
  "hex": "#87e012",
  "rgb": {
    "r": 135,
    "g": 224,
    "b": 18
  },
  "hsl": {
    "h": 85.922,
    "s": 85.124,
    "l": 47.451
  },
  "oklch": {
    "l": 0.81843,
    "c": 0.22602,
    "h": 132.6
  },
  "luminance": 0.58506
}

Semantic roles & 50–950 ramp

primary
#87E012
secondary
#451E78
accent
#2CFB86
background
#FDFEFB
surface
#F8FDF1
border
#D1D5CB
text
#121608
muted
#82847D

Preview Lab

Preview with #87E012

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

Preview Lab → · Contrast checker → · Palette generator →

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