#87A62B#87A62B

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

Color values

HEX#87A62B
RGBrgb(135, 166, 43)
HSLhsl(75, 59%, 41%)
HSVhsv(75, 74%, 65%)
CMYKcmyk(18.7%, 0%, 74.1%, 34.9%)
CIE-LABlab(63.83, -27.80, 56.36)
CIE-LCHlch(63.83, 62.84, 116.25°)
OKLaboklab(67.88% -0.0812 0.1253)
OKLCHoklch(67.88% 0.149 123)
XYZxyz(24.0642, 32.5976, 7.3092)
Luminance0.3260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A62B #4A2BA6
analogous
#A6872B #87A62B #49A62B
triadic
#87A62B #2B87A6 #A62B87
tetradic
#87A62B #2BA687 #4A2BA6 #A62B49
square
#87A62B #2BA687 #4A2BA6 #A62B49
split-complementary
#87A62B #2B49A6 #872BA6
monochromatic
#384512 #5F751E #87A62B #AACE41 #C0DA71

Accessibility & contrast

On white

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

On black

7.52
#87A62B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A62B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A62B#FFFFFF#000000##000000
##87A62B1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B12
Deuteranopia (green-blind)
#AC9A36
Tritanopia (blue-blind)
#8E9D8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #87a62b;
/* rgb */ color: rgb(135, 166, 43);
/* oklch */ color: oklch(67.9% 0.149 123.0);
Tailwind
colors: {
  custom: {
    50: '#adc06d',
    500: '#87a62b',
    950: '#000000',
  },
}
SCSS
$custom: #87a62b;
$custom-light: #adc06d;
$custom-dark: #000000;
JSON
{
  "hex": "#87a62b",
  "rgb": {
    "r": 135,
    "g": 166,
    "b": 43
  },
  "hsl": {
    "h": 75.122,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67876,
    "c": 0.14933,
    "h": 123
  },
  "luminance": 0.32598
}

Semantic roles & 50–950 ramp

primary
#87A62B
secondary
#816BC1
accent
#46E26D
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87A62B

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

Preview Lab → · Contrast checker → · Palette generator →

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