#87B41C#87B41C

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

Color values

HEX#87B41C
RGBrgb(135, 180, 28)
HSLhsl(78, 73%, 41%)
HSVhsv(78, 84%, 71%)
CMYKcmyk(25%, 0%, 84.4%, 29.4%)
CIE-LABlab(67.93, -35.03, 64.54)
CIE-LCHlch(67.93, 73.43, 118.49°)
OKLaboklab(71.17% -0.102 0.1402)
OKLCHoklch(71.17% 0.173 126)
XYZxyz(26.5227, 37.8768, 7.0120)
Luminance0.3788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B41C #491CB4
analogous
#B4951C #87B41C #3BB41C
triadic
#87B41C #1C87B4 #B41C87
tetradic
#87B41C #1CB495 #491CB4 #B41C3B
square
#87B41C #1CB495 #491CB4 #B41C3B
split-complementary
#87B41C #1C3BB4 #951CB4
monochromatic
#384A0C #5F7F14 #87B41C #AADF2F #C0E764

Accessibility & contrast

On white

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

On black

8.58
#87B41C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B41C
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B41C#FFFFFF#000000##000000
##87B41C1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87b41c;
/* rgb */ color: rgb(135, 180, 28);
/* oklch */ color: oklch(71.2% 0.173 126.0);
Tailwind
colors: {
  custom: {
    50: '#aeca69',
    500: '#87b41c',
    950: '#000000',
  },
}
SCSS
$custom: #87b41c;
$custom-light: #aeca69;
$custom-dark: #000000;
JSON
{
  "hex": "#87b41c",
  "rgb": {
    "r": 135,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 77.763,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.71171,
    "c": 0.17336,
    "h": 126
  },
  "luminance": 0.37877
}

Semantic roles & 50–950 ramp

primary
#87B41C
secondary
#8060CC
accent
#38F06E
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #87B41C

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

Preview Lab → · Contrast checker → · Palette generator →

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