#87D938#87D938

#87D938 is a light, highly saturated yellow-green. Relative luminance 0.551; OKLCH L 80.3% C 0.204 H 133.2°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#87D938
RGBrgb(135, 217, 56)
HSLhsl(91, 68%, 54%)
HSVhsv(91, 74%, 85%)
CMYKcmyk(37.8%, 0%, 74.2%, 14.9%)
CIE-LABlab(79.08, -49.67, 66.73)
CIE-LCHlch(79.08, 83.19, 126.66°)
OKLaboklab(80.3% -0.1398 0.149)
OKLCHoklch(80.3% 0.204 133.2)
XYZxyz(35.5178, 55.0605, 12.4969)
Luminance0.5506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87D938 #8A38D9
analogous
#D7D938 #87D938 #38D939
triadic
#87D938 #3887D9 #D93887
tetradic
#87D938 #38D7D9 #8A38D9 #D93938
square
#87D938 #38D7D9 #8A38D9 #D93938
split-complementary
#87D938 #3938D9 #D938D7
monochromatic
#4A7E18 #69B222 #87D938 #A6E36B #C5ED9F

Accessibility & contrast

On white

1.75
#87D938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#87D938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87D938
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87D938#FFFFFF#000000##000000
##87D9381.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C815
Deuteranopia (green-blind)
#D7C148
Tritanopia (blue-blind)
#87D0BA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #87d938;
/* rgb */ color: rgb(135, 217, 56);
/* oklch */ color: oklch(80.3% 0.204 133.2);
Tailwind
colors: {
  custom: {
    50: '#b0e57a',
    500: '#87d938',
    950: '#000000',
  },
}
SCSS
$custom: #87d938;
$custom-light: #b0e57a;
$custom-dark: #000000;
JSON
{
  "hex": "#87d938",
  "rgb": {
    "r": 135,
    "g": 217,
    "b": 56
  },
  "hsl": {
    "h": 90.559,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80296,
    "c": 0.20433,
    "h": 133.2
  },
  "luminance": 0.55062
}

Semantic roles & 50–950 ramp

primary
#87D938
secondary
#5B3086
accent
#3DEB96
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11160A
muted
#81847D

Preview Lab

Preview with #87D938

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

Preview Lab → · Contrast checker → · Palette generator →

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