#87A81C#87A81C

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

Color values

HEX#87A81C
RGBrgb(135, 168, 28)
HSLhsl(74, 71%, 38%)
HSVhsv(74, 83%, 66%)
CMYKcmyk(19.6%, 0%, 83.3%, 34.1%)
CIE-LABlab(64.35, -29.43, 61.44)
CIE-LCHlch(64.35, 68.12, 115.60°)
OKLaboklab(68.27% -0.0868 0.1335)
OKLCHoklch(68.27% 0.159 123)
XYZxyz(24.2043, 33.2399, 6.2392)
Luminance0.3324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A81C #3D1CA8
analogous
#A8831C #87A81C #41A81C
triadic
#87A81C #1C87A8 #A81C87
tetradic
#87A81C #1CA883 #3D1CA8 #A81C41
square
#87A81C #1CA883 #3D1CA8 #A81C41
split-complementary
#87A81C #1C41A8 #831CA8
monochromatic
#333F0B #5D7413 #87A81C #B0DB26 #C3E45B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A81C#FFFFFF#000000##000000
##87A81C1.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)
#AE9C2C
Tritanopia (blue-blind)
#8E9F8F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #87a81c;
/* rgb */ color: rgb(135, 168, 28);
/* oklch */ color: oklch(68.3% 0.159 123.0);
Tailwind
colors: {
  custom: {
    50: '#aec267',
    500: '#87a81c',
    950: '#000000',
  },
}
SCSS
$custom: #87a81c;
$custom-light: #aec267;
$custom-dark: #000000;
JSON
{
  "hex": "#87a81c",
  "rgb": {
    "r": 135,
    "g": 168,
    "b": 28
  },
  "hsl": {
    "h": 74.143,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68273,
    "c": 0.15928,
    "h": 123
  },
  "luminance": 0.3324
}

Semantic roles & 50–950 ramp

primary
#87A81C
secondary
#7358C7
accent
#3AEE64
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A81C

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

Preview Lab → · Contrast checker → · Palette generator →

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