#87A421#87A421

#87A421 is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 67.3% C 0.152 H 122.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#87A421
RGBrgb(135, 164, 33)
HSLhsl(73, 66%, 39%)
HSVhsv(73, 80%, 64%)
CMYKcmyk(17.7%, 0%, 79.9%, 35.7%)
CIE-LABlab(63.19, -27.32, 59.02)
CIE-LCHlch(63.19, 65.03, 114.84°)
OKLaboklab(67.34% -0.0807 0.1292)
OKLCHoklch(67.34% 0.152 122)
XYZxyz(23.5420, 31.8116, 6.3386)
Luminance0.3181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A421 #3E21A4
analogous
#A47F21 #87A421 #46A421
triadic
#87A421 #2187A4 #A42187
tetradic
#87A421 #21A47F #3E21A4 #A42146
square
#87A421 #21A47F #3E21A4 #A42146
split-complementary
#87A421 #2146A4 #7F21A4
monochromatic
#333E0C #5D7117 #87A421 #B0D52D #C3DF60

Accessibility & contrast

On white

2.85
#87A421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#87A421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A421
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A421#FFFFFF#000000##000000
##87A4211.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#AB992E
Tritanopia (blue-blind)
#8F9B8C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #87a421;
/* rgb */ color: rgb(135, 164, 33);
/* oklch */ color: oklch(67.3% 0.152 122.0);
Tailwind
colors: {
  custom: {
    50: '#aebf69',
    500: '#87a421',
    950: '#000000',
  },
}
SCSS
$custom: #87a421;
$custom-light: #aebf69;
$custom-dark: #000000;
JSON
{
  "hex": "#87a421",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 73.282,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67336,
    "c": 0.15235,
    "h": 122
  },
  "luminance": 0.31812
}

Semantic roles & 50–950 ramp

primary
#87A421
secondary
#745DC4
accent
#3EE964
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A421

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

Preview Lab → · Contrast checker → · Palette generator →

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