#87A51C#87A51C

#87A51C is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.6% C 0.156 H 122.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#87A51C
RGBrgb(135, 165, 28)
HSLhsl(73, 71%, 38%)
HSVhsv(73, 83%, 65%)
CMYKcmyk(18.2%, 0%, 83%, 35.3%)
CIE-LABlab(63.46, -27.99, 60.66)
CIE-LCHlch(63.46, 66.81, 114.77°)
OKLaboklab(67.55% -0.0829 0.1319)
OKLCHoklch(67.55% 0.156 122.2)
XYZxyz(23.6568, 32.1449, 6.0567)
Luminance0.3215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A51C #3A1CA5
analogous
#A57F1C #87A51C #42A51C
triadic
#87A51C #1C87A5 #A51C87
tetradic
#87A51C #1CA57F #3A1CA5 #A51C42
square
#87A51C #1CA57F #3A1CA5 #A51C42
split-complementary
#87A51C #1C42A5 #7F1CA5
monochromatic
#313C0A #5C7113 #87A51C #B2D925 #C5E359

Accessibility & contrast

On white

2.83
#87A51C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#87A51C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A51C
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A51C#FFFFFF#000000##000000
##87A51C1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AC9A2B
Tritanopia (blue-blind)
#8F9C8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a51c;
/* rgb */ color: rgb(135, 165, 28);
/* oklch */ color: oklch(67.6% 0.156 122.2);
Tailwind
colors: {
  custom: {
    50: '#aebf67',
    500: '#87a51c',
    950: '#000000',
  },
}
SCSS
$custom: #87a51c;
$custom-light: #aebf67;
$custom-dark: #000000;
JSON
{
  "hex": "#87a51c",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 28
  },
  "hsl": {
    "h": 73.139,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67552,
    "c": 0.15576,
    "h": 122.2
  },
  "luminance": 0.32145
}

Semantic roles & 50–950 ramp

primary
#87A51C
secondary
#6F56C6
accent
#3AEE61
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A51C

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

Preview Lab → · Contrast checker → · Palette generator →

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