#87A81B#87A81B

#87A81B is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 68.3% C 0.160 H 123.0°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#87A81B
RGBrgb(135, 168, 27)
HSLhsl(74, 72%, 38%)
HSVhsv(74, 84%, 66%)
CMYKcmyk(19.6%, 0%, 83.9%, 34.1%)
CIE-LABlab(64.35, -29.47, 61.69)
CIE-LCHlch(64.35, 68.36, 115.53°)
OKLaboklab(68.27% -0.087 0.1339)
OKLCHoklch(68.27% 0.16 123)
XYZxyz(24.1925, 33.2352, 6.1772)
Luminance0.3323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A81B #3C1BA8
analogous
#A8831B #87A81B #40A81B
triadic
#87A81B #1B87A8 #A81B87
tetradic
#87A81B #1BA883 #3C1BA8 #A81B40
square
#87A81B #1BA883 #3C1BA8 #A81B40
split-complementary
#87A81B #1B40A8 #831BA8
monochromatic
#323F0A #5D7313 #87A81B #B1DC24 #C4E459

Accessibility & contrast

On white

2.75
#87A81B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#87A81B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A81B
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A81B#FFFFFF#000000##000000
##87A81B1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#AE9C2B
Tritanopia (blue-blind)
#8E9F8F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #87a81b;
/* rgb */ color: rgb(135, 168, 27);
/* oklch */ color: oklch(68.3% 0.160 123.0);
Tailwind
colors: {
  custom: {
    50: '#aec267',
    500: '#87a81b',
    950: '#000000',
  },
}
SCSS
$custom: #87a81b;
$custom-light: #aec267;
$custom-dark: #000000;
JSON
{
  "hex": "#87a81b",
  "rgb": {
    "r": 135,
    "g": 168,
    "b": 27
  },
  "hsl": {
    "h": 74.043,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.68269,
    "c": 0.15967,
    "h": 123
  },
  "luminance": 0.33235
}

Semantic roles & 50–950 ramp

primary
#87A81B
secondary
#7157C8
accent
#39EF63
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A81B

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

Preview Lab → · Contrast checker → · Palette generator →

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