#87A92B#87A92B

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

Color values

HEX#87A92B
RGBrgb(135, 169, 43)
HSLhsl(76, 59%, 42%)
HSVhsv(76, 75%, 66%)
CMYKcmyk(20.1%, 0%, 74.6%, 33.7%)
CIE-LABlab(64.72, -29.24, 57.22)
CIE-LCHlch(64.72, 64.26, 117.07°)
OKLaboklab(68.6% -0.0852 0.1271)
OKLCHoklch(68.6% 0.153 123.8)
XYZxyz(24.6160, 33.7011, 7.4931)
Luminance0.3370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A92B #4D2BA9
analogous
#A98C2B #87A92B #48A92B
triadic
#87A92B #2B87A9 #A92B87
tetradic
#87A92B #2BA98C #4D2BA9 #A92B48
square
#87A92B #2BA98C #4D2BA9 #A92B48
split-complementary
#87A92B #2B48A9 #8C2BA9
monochromatic
#394712 #60781F #87A92B #A9CF42 #BFDB73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A92B#FFFFFF#000000##000000
##87A92B1.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)
#B39E10
Deuteranopia (green-blind)
#AE9D37
Tritanopia (blue-blind)
#8EA091
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #87a92b;
/* rgb */ color: rgb(135, 169, 43);
/* oklch */ color: oklch(68.6% 0.153 123.8);
Tailwind
colors: {
  custom: {
    50: '#adc26e',
    500: '#87a92b',
    950: '#000000',
  },
}
SCSS
$custom: #87a92b;
$custom-light: #adc26e;
$custom-dark: #000000;
JSON
{
  "hex": "#87a92b",
  "rgb": {
    "r": 135,
    "g": 169,
    "b": 43
  },
  "hsl": {
    "h": 76.19,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68596,
    "c": 0.15302,
    "h": 123.8
  },
  "luminance": 0.33701
}

Semantic roles & 50–950 ramp

primary
#87A92B
secondary
#846DC3
accent
#45E370
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87A92B

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

Preview Lab → · Contrast checker → · Palette generator →

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