#87A820#87A820

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

Color values

HEX#87A820
RGBrgb(135, 168, 32)
HSLhsl(75, 68%, 39%)
HSVhsv(75, 81%, 66%)
CMYKcmyk(19.6%, 0%, 81%, 34.1%)
CIE-LABlab(64.37, -29.28, 60.37)
CIE-LCHlch(64.37, 67.10, 115.87°)
OKLaboklab(68.29% -0.0861 0.1319)
OKLCHoklch(68.29% 0.158 123.1)
XYZxyz(24.2554, 33.2603, 6.5083)
Luminance0.3326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A820 #4120A8
analogous
#A88520 #87A820 #43A820
triadic
#87A820 #2087A8 #A82087
tetradic
#87A820 #20A885 #4120A8 #A82043
square
#87A820 #20A885 #4120A8 #A82043
split-complementary
#87A820 #2043A8 #8520A8
monochromatic
#34410C #5E7516 #87A820 #AED72E #C2E161

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A820#FFFFFF#000000##000000
##87A8201.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: #87a820;
/* rgb */ color: rgb(135, 168, 32);
/* oklch */ color: oklch(68.3% 0.158 123.1);
Tailwind
colors: {
  custom: {
    50: '#aec269',
    500: '#87a820',
    950: '#000000',
  },
}
SCSS
$custom: #87a820;
$custom-light: #aec269;
$custom-dark: #000000;
JSON
{
  "hex": "#87a820",
  "rgb": {
    "r": 135,
    "g": 168,
    "b": 32
  },
  "hsl": {
    "h": 74.559,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68292,
    "c": 0.15756,
    "h": 123.1
  },
  "luminance": 0.3326
}

Semantic roles & 50–950 ramp

primary
#87A820
secondary
#775EC6
accent
#3DEB67
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A820

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

Preview Lab → · Contrast checker → · Palette generator →

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