#87A518#87A518

#87A518 is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.5% C 0.157 H 122.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#87A518
RGBrgb(135, 165, 24)
HSLhsl(73, 75%, 37%)
HSVhsv(73, 85%, 65%)
CMYKcmyk(18.2%, 0%, 85.5%, 35.3%)
CIE-LABlab(63.45, -28.13, 61.64)
CIE-LCHlch(63.45, 67.75, 114.53°)
OKLaboklab(67.54% -0.0835 0.1333)
OKLCHoklch(67.54% 0.157 122.1)
XYZxyz(23.6121, 32.1271, 5.8212)
Luminance0.3213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A518 #3618A5
analogous
#A57D18 #87A518 #41A518
triadic
#87A518 #1887A5 #A51887
tetradic
#87A518 #18A57D #3618A5 #A51841
square
#87A518 #18A57D #3618A5 #A51841
split-complementary
#87A518 #1841A5 #7D18A5
monochromatic
#303A08 #5B7010 #87A518 #B3DA20 #C6E652

Accessibility & contrast

On white

2.83
#87A518 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#87A518 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A518
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A518#FFFFFF#000000##000000
##87A5181.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AC9A29
Tritanopia (blue-blind)
#8F9C8C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a518;
/* rgb */ color: rgb(135, 165, 24);
/* oklch */ color: oklch(67.5% 0.157 122.1);
Tailwind
colors: {
  custom: {
    50: '#aebf65',
    500: '#87a518',
    950: '#000000',
  },
}
SCSS
$custom: #87a518;
$custom-light: #aebf65;
$custom-dark: #000000;
JSON
{
  "hex": "#87a518",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 24
  },
  "hsl": {
    "h": 72.766,
    "s": 74.603,
    "l": 37.059
  },
  "oklch": {
    "l": 0.67535,
    "c": 0.15732,
    "h": 122.1
  },
  "luminance": 0.32127
}

Semantic roles & 50–950 ramp

primary
#87A518
secondary
#6A51C8
accent
#37F15E
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #87A518

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

Preview Lab → · Contrast checker → · Palette generator →

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