#87A522#87A522

#87A522 is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.6% C 0.153 H 122.3°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#87A522
RGBrgb(135, 165, 34)
HSLhsl(74, 66%, 39%)
HSVhsv(74, 79%, 65%)
CMYKcmyk(18.2%, 0%, 79.4%, 35.3%)
CIE-LABlab(63.49, -27.76, 58.99)
CIE-LCHlch(63.49, 65.20, 115.20°)
OKLaboklab(67.58% -0.0818 0.1293)
OKLCHoklch(67.58% 0.153 122.3)
XYZxyz(23.7359, 32.1766, 6.4733)
Luminance0.3218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A522 #4022A5
analogous
#A58222 #87A522 #46A522
triadic
#87A522 #2287A5 #A52287
tetradic
#87A522 #22A582 #4022A5 #A52246
square
#87A522 #22A582 #4022A5 #A52246
split-complementary
#87A522 #2246A5 #8222A5
monochromatic
#34400D #5D7218 #87A522 #AFD430 #C2DF63

Accessibility & contrast

On white

2.82
#87A522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#87A522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A522
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A522#FFFFFF#000000##000000
##87A5221.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AB9A2F
Tritanopia (blue-blind)
#8E9C8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a522;
/* rgb */ color: rgb(135, 165, 34);
/* oklch */ color: oklch(67.6% 0.153 122.3);
Tailwind
colors: {
  custom: {
    50: '#aebf69',
    500: '#87a522',
    950: '#000000',
  },
}
SCSS
$custom: #87a522;
$custom-light: #aebf69;
$custom-dark: #000000;
JSON
{
  "hex": "#87a522",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 73.74,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67581,
    "c": 0.15305,
    "h": 122.3
  },
  "luminance": 0.32177
}

Semantic roles & 50–950 ramp

primary
#87A522
secondary
#765FC4
accent
#3FE966
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A522

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

Preview Lab → · Contrast checker → · Palette generator →

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