#87C542#87C542

#87C542 is a light, vivid yellow-green. Relative luminance 0.455; OKLCH L 75.5% C 0.173 H 131.2°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#87C542
RGBrgb(135, 197, 66)
HSLhsl(88, 53%, 52%)
HSVhsv(88, 66%, 77%)
CMYKcmyk(31.5%, 0%, 66.5%, 22.7%)
CIE-LABlab(73.20, -40.54, 57.12)
CIE-LCHlch(73.20, 70.04, 125.37°)
OKLaboklab(75.53% -0.1142 0.1303)
OKLCHoklch(75.53% 0.173 131.2)
XYZxyz(30.9410, 45.4757, 12.3007)
Luminance0.4548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87C542 #8042C5
analogous
#C5C242 #87C542 #46C542
triadic
#87C542 #4287C5 #C54287
tetradic
#87C542 #42C5C2 #8042C5 #C54246
square
#87C542 #42C5C2 #8042C5 #C54246
split-complementary
#87C542 #4246C5 #C242C5
monochromatic
#486C21 #689A2F #87C542 #A5D371 #C2E2A0

Accessibility & contrast

On white

2.08
#87C542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#87C542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87C542
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87C542#FFFFFF#000000##000000
##87C5421.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB730
Deuteranopia (green-blind)
#C5B24D
Tritanopia (blue-blind)
#89BDAA
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #87c542;
/* rgb */ color: rgb(135, 197, 66);
/* oklch */ color: oklch(75.5% 0.173 131.2);
Tailwind
colors: {
  custom: {
    50: '#aed77d',
    500: '#87c542',
    950: '#000000',
  },
}
SCSS
$custom: #87c542;
$custom-light: #aed77d;
$custom-dark: #000000;
JSON
{
  "hex": "#87c542",
  "rgb": {
    "r": 135,
    "g": 197,
    "b": 66
  },
  "hsl": {
    "h": 88.397,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75527,
    "c": 0.17327,
    "h": 131.2
  },
  "luminance": 0.45477
}

Semantic roles & 50–950 ramp

primary
#87C542
secondary
#B095CE
accent
#4BDC90
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #87C542

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

Preview Lab → · Contrast checker → · Palette generator →

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