#87A41D#87A41D

#87A41D is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 67.3% C 0.154 H 121.9°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#87A41D
RGBrgb(135, 164, 29)
HSLhsl(73, 70%, 38%)
HSVhsv(73, 82%, 64%)
CMYKcmyk(17.7%, 0%, 82.3%, 35.7%)
CIE-LABlab(63.17, -27.48, 60.13)
CIE-LCHlch(63.17, 66.11, 114.56°)
OKLaboklab(67.32% -0.0814 0.1309)
OKLCHoklch(67.32% 0.154 121.9)
XYZxyz(23.4893, 31.7905, 6.0609)
Luminance0.3179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A41D #3A1DA4
analogous
#A47D1D #87A41D #43A41D
triadic
#87A41D #1D87A4 #A41D87
tetradic
#87A41D #1DA47D #3A1DA4 #A41D43
square
#87A41D #1DA47D #3A1DA4 #A41D43
split-complementary
#87A41D #1D43A4 #7D1DA4
monochromatic
#313C0B #5C7014 #87A41D #B2D826 #C5E25A

Accessibility & contrast

On white

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

On black

7.36
#87A41D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A41D
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A41D#FFFFFF#000000##000000
##87A41D1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#AB992C
Tritanopia (blue-blind)
#8F9B8C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #87a41d;
/* rgb */ color: rgb(135, 164, 29);
/* oklch */ color: oklch(67.3% 0.154 121.9);
Tailwind
colors: {
  custom: {
    50: '#aebf67',
    500: '#87a41d',
    950: '#000000',
  },
}
SCSS
$custom: #87a41d;
$custom-light: #aebf67;
$custom-dark: #000000;
JSON
{
  "hex": "#87a41d",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 29
  },
  "hsl": {
    "h": 72.889,
    "s": 69.948,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67316,
    "c": 0.15417,
    "h": 121.9
  },
  "luminance": 0.31791
}

Semantic roles & 50–950 ramp

primary
#87A41D
secondary
#6F57C6
accent
#3BED61
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A41D

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

Preview Lab → · Contrast checker → · Palette generator →

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