#87A92C#87A92C

#87A92C is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.6% C 0.152 H 123.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#87A92C
RGBrgb(135, 169, 44)
HSLhsl(76, 59%, 42%)
HSVhsv(76, 74%, 66%)
CMYKcmyk(20.1%, 0%, 74%, 33.7%)
CIE-LABlab(64.73, -29.19, 56.88)
CIE-LCHlch(64.73, 63.93, 117.16°)
OKLaboklab(68.6% -0.085 0.1266)
OKLCHoklch(68.6% 0.152 123.9)
XYZxyz(24.6345, 33.7085, 7.5909)
Luminance0.3371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A92C #4E2CA9
analogous
#A98D2C #87A92C #49A92C
triadic
#87A92C #2C87A9 #A92C87
tetradic
#87A92C #2CA98D #4E2CA9 #A92C49
square
#87A92C #2CA98D #4E2CA9 #A92C49
split-complementary
#87A92C #2C49A9 #8D2CA9
monochromatic
#394813 #60781F #87A92C #A9CE44 #BFDB74

Accessibility & contrast

On white

2.71
#87A92C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#87A92C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A92C
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A92C#FFFFFF#000000##000000
##87A92C1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E13
Deuteranopia (green-blind)
#AE9D37
Tritanopia (blue-blind)
#8EA191
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #87a92c;
/* rgb */ color: rgb(135, 169, 44);
/* oklch */ color: oklch(68.6% 0.152 123.9);
Tailwind
colors: {
  custom: {
    50: '#adc26e',
    500: '#87a92c',
    950: '#000000',
  },
}
SCSS
$custom: #87a92c;
$custom-light: #adc26e;
$custom-dark: #000000;
JSON
{
  "hex": "#87a92c",
  "rgb": {
    "r": 135,
    "g": 169,
    "b": 44
  },
  "hsl": {
    "h": 76.32,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68602,
    "c": 0.15242,
    "h": 123.9
  },
  "luminance": 0.33709
}

Semantic roles & 50–950 ramp

primary
#87A92C
secondary
#856EC3
accent
#46E270
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87A92C

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

Preview Lab → · Contrast checker → · Palette generator →

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