#87A821#87A821

#87A821 is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 68.3% C 0.157 H 123.2°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#87A821
RGBrgb(135, 168, 33)
HSLhsl(75, 67%, 39%)
HSVhsv(75, 80%, 66%)
CMYKcmyk(19.6%, 0%, 80.4%, 34.1%)
CIE-LABlab(64.38, -29.24, 60.09)
CIE-LCHlch(64.38, 66.83, 115.95°)
OKLaboklab(68.3% -0.086 0.1315)
OKLCHoklch(68.3% 0.157 123.2)
XYZxyz(24.2692, 33.2658, 6.5809)
Luminance0.3327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A821 #4221A8
analogous
#A88621 #87A821 #43A821
triadic
#87A821 #2187A8 #A82187
tetradic
#87A821 #21A886 #4221A8 #A82143
square
#87A821 #21A886 #4221A8 #A82143
split-complementary
#87A821 #2143A8 #8621A8
monochromatic
#35420D #5E7517 #87A821 #AED630 #C2E063

Accessibility & contrast

On white

2.74
#87A821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#87A821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A821
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A821#FFFFFF#000000##000000
##87A8211.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#8E9F8F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #87a821;
/* rgb */ color: rgb(135, 168, 33);
/* oklch */ color: oklch(68.3% 0.157 123.2);
Tailwind
colors: {
  custom: {
    50: '#aec269',
    500: '#87a821',
    950: '#000000',
  },
}
SCSS
$custom: #87a821;
$custom-light: #aec269;
$custom-dark: #000000;
JSON
{
  "hex": "#87a821",
  "rgb": {
    "r": 135,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 74.667,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68297,
    "c": 0.15709,
    "h": 123.2
  },
  "luminance": 0.33266
}

Semantic roles & 50–950 ramp

primary
#87A821
secondary
#785FC5
accent
#3EEA68
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A821

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

Preview Lab → · Contrast checker → · Palette generator →

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