#87AC42#87AC42

#87AC42 is a light, vivid yellow-green. Relative luminance 0.350; OKLCH L 69.5% C 0.140 H 126.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#87AC42
RGBrgb(135, 172, 66)
HSLhsl(81, 45%, 47%)
HSVhsv(81, 62%, 67%)
CMYKcmyk(21.5%, 0%, 61.6%, 32.5%)
CIE-LABlab(65.79, -29.09, 49.11)
CIE-LCHlch(65.79, 57.08, 120.64°)
OKLaboklab(69.51% -0.0827 0.1134)
OKLCHoklch(69.51% 0.14 126.1)
XYZxyz(25.7276, 35.0490, 10.5629)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AC42 #6742AC
analogous
#AC9C42 #87AC42 #52AC42
triadic
#87AC42 #4287AC #AC4287
tetradic
#87AC42 #42AC9C #6742AC #AC4252
square
#87AC42 #42AC9C #6742AC #AC4252
split-complementary
#87AC42 #4252AC #9C42AC
monochromatic
#425420 #648031 #87AC42 #A4C567 #BED693

Accessibility & contrast

On white

2.62
#87AC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#87AC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AC42
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AC42#FFFFFF#000000##000000
##87AC421.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A136
Deuteranopia (green-blind)
#B09F4A
Tritanopia (blue-blind)
#8CA496
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #87ac42;
/* rgb */ color: rgb(135, 172, 66);
/* oklch */ color: oklch(69.5% 0.140 126.1);
Tailwind
colors: {
  custom: {
    50: '#adc57b',
    500: '#87ac42',
    950: '#000000',
  },
}
SCSS
$custom: #87ac42;
$custom-light: #adc57b;
$custom-dark: #000000;
JSON
{
  "hex": "#87ac42",
  "rgb": {
    "r": 135,
    "g": 172,
    "b": 66
  },
  "hsl": {
    "h": 80.943,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.6951,
    "c": 0.14035,
    "h": 126.1
  },
  "luminance": 0.35049
}

Semantic roles & 50–950 ramp

primary
#87AC42
secondary
#9C89C1
accent
#54D480
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #87AC42

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

Preview Lab → · Contrast checker → · Palette generator →

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