#87A61B#87A61B

#87A61B is a light, vivid yellow-green. Relative luminance 0.325; OKLCH L 67.8% C 0.157 H 122.4°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#87A61B
RGBrgb(135, 166, 27)
HSLhsl(73, 72%, 38%)
HSVhsv(73, 84%, 65%)
CMYKcmyk(18.7%, 0%, 83.7%, 34.9%)
CIE-LABlab(63.76, -28.51, 61.17)
CIE-LCHlch(63.76, 67.49, 114.99°)
OKLaboklab(67.79% -0.0844 0.1328)
OKLCHoklch(67.79% 0.157 122.4)
XYZxyz(23.8261, 32.5024, 6.0551)
Luminance0.3250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A61B #3A1BA6
analogous
#A67F1B #87A61B #42A61B
triadic
#87A61B #1B87A6 #A61B87
tetradic
#87A61B #1BA67F #3A1BA6 #A61B42
square
#87A61B #1BA67F #3A1BA6 #A61B42
split-complementary
#87A61B #1B42A6 #7F1BA6
monochromatic
#313D0A #5C7112 #87A61B #B2DB24 #C5E458

Accessibility & contrast

On white

2.80
#87A61B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#87A61B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A61B
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A61B#FFFFFF#000000##000000
##87A61B1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87a61b;
/* rgb */ color: rgb(135, 166, 27);
/* oklch */ color: oklch(67.8% 0.157 122.4);
Tailwind
colors: {
  custom: {
    50: '#aec067',
    500: '#87a61b',
    950: '#000000',
  },
}
SCSS
$custom: #87a61b;
$custom-light: #aec067;
$custom-dark: #000000;
JSON
{
  "hex": "#87a61b",
  "rgb": {
    "r": 135,
    "g": 166,
    "b": 27
  },
  "hsl": {
    "h": 73.381,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67788,
    "c": 0.15734,
    "h": 122.4
  },
  "luminance": 0.32502
}

Semantic roles & 50–950 ramp

primary
#87A61B
secondary
#6F56C7
accent
#39EF62
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A61B

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

Preview Lab → · Contrast checker → · Palette generator →

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