#87B418#87B418

#87B418 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.2% C 0.175 H 125.9°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#87B418
RGBrgb(135, 180, 24)
HSLhsl(77, 76%, 40%)
HSVhsv(77, 87%, 71%)
CMYKcmyk(25%, 0%, 86.7%, 29.4%)
CIE-LABlab(67.92, -35.16, 65.43)
CIE-LCHlch(67.92, 74.27, 118.25°)
OKLaboklab(71.16% -0.1025 0.1415)
OKLCHoklch(71.16% 0.175 125.9)
XYZxyz(26.4780, 37.8589, 6.7765)
Luminance0.3786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B418 #4518B4
analogous
#B49318 #87B418 #39B418
triadic
#87B418 #1887B4 #B41887
tetradic
#87B418 #18B493 #4518B4 #B41839
square
#87B418 #18B493 #4518B4 #B41839
split-complementary
#87B418 #1839B4 #9318B4
monochromatic
#36480A #5E7E11 #87B418 #ACE227 #C1E95D

Accessibility & contrast

On white

2.45
#87B418 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#87B418 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B418
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B418#FFFFFF#000000##000000
##87B4181.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#B8A52C
Tritanopia (blue-blind)
#8DAB99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87b418;
/* rgb */ color: rgb(135, 180, 24);
/* oklch */ color: oklch(71.2% 0.175 125.9);
Tailwind
colors: {
  custom: {
    50: '#afca68',
    500: '#87b418',
    950: '#000000',
  },
}
SCSS
$custom: #87b418;
$custom-light: #afca68;
$custom-dark: #000000;
JSON
{
  "hex": "#87b418",
  "rgb": {
    "r": 135,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 77.308,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.71156,
    "c": 0.17475,
    "h": 125.9
  },
  "luminance": 0.37859
}

Semantic roles & 50–950 ramp

primary
#87B418
secondary
#7C5BCD
accent
#35F36C
background
#FBFCF6
surface
#F6F8EB
border
#D0D1C6
text
#111307
muted
#80827A

Preview Lab

Preview with #87B418

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

Preview Lab → · Contrast checker → · Palette generator →

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