#87A42F#87A42F

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

Color values

HEX#87A42F
RGBrgb(135, 164, 47)
HSLhsl(75, 55%, 41%)
HSVhsv(75, 71%, 64%)
CMYKcmyk(17.7%, 0%, 71.3%, 35.7%)
CIE-LABlab(63.27, -26.60, 54.34)
CIE-LCHlch(63.27, 60.50, 116.08°)
OKLaboklab(67.43% -0.0776 0.1217)
OKLCHoklch(67.43% 0.144 122.5)
XYZxyz(23.7805, 31.9070, 7.5946)
Luminance0.3191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A42F #4C2FA4
analogous
#A4872F #87A42F #4DA42F
triadic
#87A42F #2F87A4 #A42F87
tetradic
#87A42F #2FA487 #4C2FA4 #A42F4D
square
#87A42F #2FA487 #4C2FA4 #A42F4D
split-complementary
#87A42F #2F4DA4 #872FA4
monochromatic
#394514 #607421 #87A42F #A9CA46 #BFD876

Accessibility & contrast

On white

2.84
#87A42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A42F#FFFFFF#000000##000000
##87A42F1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87a42f;
/* rgb */ color: rgb(135, 164, 47);
/* oklch */ color: oklch(67.4% 0.144 122.5);
Tailwind
colors: {
  custom: {
    50: '#adbf6f',
    500: '#87a42f',
    950: '#000000',
  },
}
SCSS
$custom: #87a42f;
$custom-light: #adbf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#87a42f",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 74.872,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67425,
    "c": 0.14434,
    "h": 122.5
  },
  "luminance": 0.31907
}

Semantic roles & 50–950 ramp

primary
#87A42F
secondary
#836FC0
accent
#49DF6E
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87A42F

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

Preview Lab → · Contrast checker → · Palette generator →

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