#87A62C#87A62C

#87A62C 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#87A62C
RGBrgb(135, 166, 44)
HSLhsl(75, 58%, 41%)
HSVhsv(75, 73%, 65%)
CMYKcmyk(18.7%, 0%, 73.5%, 34.9%)
CIE-LABlab(63.84, -27.74, 56.01)
CIE-LCHlch(63.84, 62.51, 116.35°)
OKLaboklab(67.88% -0.081 0.1247)
OKLCHoklch(67.88% 0.149 123)
XYZxyz(24.0828, 32.6051, 7.4070)
Luminance0.3261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A62C #4B2CA6
analogous
#A6882C #87A62C #4AA62C
triadic
#87A62C #2C87A6 #A62C87
tetradic
#87A62C #2CA688 #4B2CA6 #A62C4A
square
#87A62C #2CA688 #4B2CA6 #A62C4A
split-complementary
#87A62C #2C4AA6 #882CA6
monochromatic
#384512 #60761F #87A62C #AACD42 #C0DA73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A62C#FFFFFF#000000##000000
##87A62C1.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)
#B09B14
Deuteranopia (green-blind)
#AC9B37
Tritanopia (blue-blind)
#8E9E8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #87a62c;
/* rgb */ color: rgb(135, 166, 44);
/* oklch */ color: oklch(67.9% 0.149 123.0);
Tailwind
colors: {
  custom: {
    50: '#adc06e',
    500: '#87a62c',
    950: '#000000',
  },
}
SCSS
$custom: #87a62c;
$custom-light: #adc06e;
$custom-dark: #000000;
JSON
{
  "hex": "#87a62c",
  "rgb": {
    "r": 135,
    "g": 166,
    "b": 44
  },
  "hsl": {
    "h": 75.246,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67882,
    "c": 0.14872,
    "h": 123
  },
  "luminance": 0.32605
}

Semantic roles & 50–950 ramp

primary
#87A62C
secondary
#826DC1
accent
#46E16E
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87A62C

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

Preview Lab → · Contrast checker → · Palette generator →

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