#87A62F#87A62F

#87A62F is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 67.9% C 0.147 H 123.1°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#87A62F
RGBrgb(135, 166, 47)
HSLhsl(76, 56%, 42%)
HSVhsv(76, 72%, 65%)
CMYKcmyk(18.7%, 0%, 71.7%, 34.9%)
CIE-LABlab(63.86, -27.57, 54.93)
CIE-LCHlch(63.86, 61.46, 116.65°)
OKLaboklab(67.9% -0.0803 0.123)
OKLCHoklch(67.9% 0.147 123.1)
XYZxyz(24.1413, 32.6284, 7.7149)
Luminance0.3263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A62F #4E2FA6
analogous
#A68A2F #87A62F #4CA62F
triadic
#87A62F #2F87A6 #A62F87
tetradic
#87A62F #2FA68A #4E2FA6 #A62F4C
square
#87A62F #2FA68A #4E2FA6 #A62F4C
split-complementary
#87A62F #2F4CA6 #8A2FA6
monochromatic
#394714 #607621 #87A62F #A9CB47 #BFD877

Accessibility & contrast

On white

2.79
#87A62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#87A62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A62F
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A62F#FFFFFF#000000##000000
##87A62F1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1A
Deuteranopia (green-blind)
#AC9B39
Tritanopia (blue-blind)
#8E9E8F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #87a62f;
/* rgb */ color: rgb(135, 166, 47);
/* oklch */ color: oklch(67.9% 0.147 123.1);
Tailwind
colors: {
  custom: {
    50: '#adc06f',
    500: '#87a62f',
    950: '#000000',
  },
}
SCSS
$custom: #87a62f;
$custom-light: #adc06f;
$custom-dark: #000000;
JSON
{
  "hex": "#87a62f",
  "rgb": {
    "r": 135,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 75.63,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67904,
    "c": 0.14683,
    "h": 123.1
  },
  "luminance": 0.32629
}

Semantic roles & 50–950 ramp

primary
#87A62F
secondary
#8570C1
accent
#49DF70
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87A62F

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

Preview Lab → · Contrast checker → · Palette generator →

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