#87A32F#87A32F

#87A32F is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.2% C 0.143 H 122.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#87A32F
RGBrgb(135, 163, 47)
HSLhsl(74, 55%, 41%)
HSVhsv(74, 71%, 64%)
CMYKcmyk(17.2%, 0%, 71.2%, 36.1%)
CIE-LABlab(62.97, -26.11, 54.04)
CIE-LCHlch(62.97, 60.02, 115.79°)
OKLaboklab(67.19% -0.0762 0.1211)
OKLCHoklch(67.19% 0.143 122.2)
XYZxyz(23.6023, 31.5505, 7.5352)
Luminance0.3155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A32F #4B2FA3
analogous
#A3852F #87A32F #4DA32F
triadic
#87A32F #2F87A3 #A32F87
tetradic
#87A32F #2FA385 #4B2FA3 #A32F4D
square
#87A32F #2FA385 #4B2FA3 #A32F4D
split-complementary
#87A32F #2F4DA3 #852FA3
monochromatic
#384414 #607321 #87A32F #AACA46 #C0D775

Accessibility & contrast

On white

2.87
#87A32F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#87A32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A32F
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A32F#FFFFFF#000000##000000
##87A32F1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991C
Deuteranopia (green-blind)
#A99839
Tritanopia (blue-blind)
#8E9B8C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #87a32f;
/* rgb */ color: rgb(135, 163, 47);
/* oklch */ color: oklch(67.2% 0.143 122.2);
Tailwind
colors: {
  custom: {
    50: '#adbe6f',
    500: '#87a32f',
    950: '#000000',
  },
}
SCSS
$custom: #87a32f;
$custom-light: #adbe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#87a32f",
  "rgb": {
    "r": 135,
    "g": 163,
    "b": 47
  },
  "hsl": {
    "h": 74.483,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67186,
    "c": 0.1431,
    "h": 122.2
  },
  "luminance": 0.31551
}

Semantic roles & 50–950 ramp

primary
#87A32F
secondary
#826FBF
accent
#49DF6D
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87A32F

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

Preview Lab → · Contrast checker → · Palette generator →

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