#87A42B#87A42B

#87A42B is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.4% C 0.147 H 122.3°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#87A42B
RGBrgb(135, 164, 43)
HSLhsl(74, 58%, 41%)
HSVhsv(74, 74%, 64%)
CMYKcmyk(17.7%, 0%, 73.8%, 35.7%)
CIE-LABlab(63.24, -26.83, 55.79)
CIE-LCHlch(63.24, 61.90, 115.69°)
OKLaboklab(67.4% -0.0786 0.1241)
OKLCHoklch(67.4% 0.147 122.3)
XYZxyz(23.7035, 31.8762, 7.1890)
Luminance0.3188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A42B #482BA4
analogous
#A4842B #87A42B #4AA42B
triadic
#87A42B #2B87A4 #A42B87
tetradic
#87A42B #2BA484 #482BA4 #A42B4A
square
#87A42B #2BA484 #482BA4 #A42B4A
split-complementary
#87A42B #2B4AA4 #842BA4
monochromatic
#374312 #5F741E #87A42B #ABCD3F #C0D970

Accessibility & contrast

On white

2.85
#87A42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#87A42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A42B
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A42B#FFFFFF#000000##000000
##87A42B1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A13
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#8E9C8D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #87a42b;
/* rgb */ color: rgb(135, 164, 43);
/* oklch */ color: oklch(67.4% 0.147 122.3);
Tailwind
colors: {
  custom: {
    50: '#adbf6d',
    500: '#87a42b',
    950: '#000000',
  },
}
SCSS
$custom: #87a42b;
$custom-light: #adbf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#87a42b",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 74.38,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67396,
    "c": 0.14689,
    "h": 122.3
  },
  "luminance": 0.31876
}

Semantic roles & 50–950 ramp

primary
#87A42B
secondary
#7F6AC1
accent
#46E26B
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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