#87A81F#87A81F

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

Color values

HEX#87A81F
RGBrgb(135, 168, 31)
HSLhsl(74, 69%, 39%)
HSVhsv(74, 82%, 66%)
CMYKcmyk(19.6%, 0%, 81.5%, 34.1%)
CIE-LABlab(64.37, -29.32, 60.65)
CIE-LCHlch(64.37, 67.36, 115.80°)
OKLaboklab(68.29% -0.0863 0.1324)
OKLCHoklch(68.29% 0.158 123.1)
XYZxyz(24.2420, 33.2549, 6.4378)
Luminance0.3326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A81F #401FA8
analogous
#A8851F #87A81F #42A81F
triadic
#87A81F #1F87A8 #A81F87
tetradic
#87A81F #1FA885 #401FA8 #A81F42
square
#87A81F #1FA885 #401FA8 #A81F42
split-complementary
#87A81F #1F42A8 #851FA8
monochromatic
#34410C #5D7415 #87A81F #AFD82C #C2E260

Accessibility & contrast

On white

2.74
#87A81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A81F#FFFFFF#000000##000000
##87A81F1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87a81f;
/* rgb */ color: rgb(135, 168, 31);
/* oklch */ color: oklch(68.3% 0.158 123.1);
Tailwind
colors: {
  custom: {
    50: '#aec268',
    500: '#87a81f',
    950: '#000000',
  },
}
SCSS
$custom: #87a81f;
$custom-light: #aec268;
$custom-dark: #000000;
JSON
{
  "hex": "#87a81f",
  "rgb": {
    "r": 135,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 74.453,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68287,
    "c": 0.15801,
    "h": 123.1
  },
  "luminance": 0.33255
}

Semantic roles & 50–950 ramp

primary
#87A81F
secondary
#765DC6
accent
#3CEC66
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A81F

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

Preview Lab → · Contrast checker → · Palette generator →

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