#87A015#87A015

#87A015 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.3% C 0.153 H 120.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#87A015
RGBrgb(135, 160, 21)
HSLhsl(71, 77%, 35%)
HSVhsv(71, 87%, 63%)
CMYKcmyk(15.6%, 0%, 86.9%, 37.3%)
CIE-LABlab(61.95, -25.79, 61.05)
CIE-LCHlch(61.95, 66.28, 112.90°)
OKLaboklab(66.32% -0.0773 0.1316)
OKLCHoklch(66.32% 0.153 120.4)
XYZxyz(22.6983, 30.3467, 5.3710)
Luminance0.3035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A015 #2E15A0
analogous
#A07315 #87A015 #42A015
triadic
#87A015 #1587A0 #A01587
tetradic
#87A015 #15A073 #2E15A0 #A01542
square
#87A015 #15A073 #2E15A0 #A01542
split-complementary
#87A015 #1542A0 #7315A0
monochromatic
#2C3407 #596A0E #87A015 #B5D61C #CAE748

Accessibility & contrast

On white

2.97
#87A015 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#87A015 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A015
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A015#FFFFFF#000000##000000
##87A0151.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A89626
Tritanopia (blue-blind)
#8F9788
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #87a015;
/* rgb */ color: rgb(135, 160, 21);
/* oklch */ color: oklch(66.3% 0.153 120.4);
Tailwind
colors: {
  custom: {
    50: '#aebc64',
    500: '#87a015',
    950: '#000000',
  },
}
SCSS
$custom: #87a015;
$custom-light: #aebc64;
$custom-dark: #000000;
JSON
{
  "hex": "#87a015",
  "rgb": {
    "r": 135,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 70.791,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.66324,
    "c": 0.15263,
    "h": 120.4
  },
  "luminance": 0.30347
}

Semantic roles & 50–950 ramp

primary
#87A015
secondary
#6049C8
accent
#34F357
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #87A015

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

Preview Lab → · Contrast checker → · Palette generator →

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