#87A42C#87A42C

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

Color values

HEX#87A42C
RGBrgb(135, 164, 44)
HSLhsl(75, 58%, 41%)
HSVhsv(75, 73%, 64%)
CMYKcmyk(17.7%, 0%, 73.2%, 35.7%)
CIE-LABlab(63.25, -26.77, 55.43)
CIE-LCHlch(63.25, 61.56, 115.78°)
OKLaboklab(67.4% -0.0783 0.1235)
OKLCHoklch(67.4% 0.146 122.4)
XYZxyz(23.7221, 31.8836, 7.2868)
Luminance0.3188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A42C #492CA4
analogous
#A4852C #87A42C #4BA42C
triadic
#87A42C #2C87A4 #A42C87
tetradic
#87A42C #2CA485 #492CA4 #A42C4B
square
#87A42C #2CA485 #492CA4 #A42C4B
split-complementary
#87A42C #2C4BA4 #852CA4
monochromatic
#384312 #5F741F #87A42C #AACC41 #C0D971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A42C#FFFFFF#000000##000000
##87A42C1.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)
#AE9A15
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#8E9C8D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #87a42c;
/* rgb */ color: rgb(135, 164, 44);
/* oklch */ color: oklch(67.4% 0.146 122.4);
Tailwind
colors: {
  custom: {
    50: '#adbf6e',
    500: '#87a42c',
    950: '#000000',
  },
}
SCSS
$custom: #87a42c;
$custom-light: #adbf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#87a42c",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 74.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67403,
    "c": 0.14627,
    "h": 122.4
  },
  "luminance": 0.31884
}

Semantic roles & 50–950 ramp

primary
#87A42C
secondary
#806BC0
accent
#47E16C
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87A42C

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

Preview Lab → · Contrast checker → · Palette generator →

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