#87A534#87A534

#87A534 is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.7% C 0.142 H 123.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#87A534
RGBrgb(135, 165, 52)
HSLhsl(76, 52%, 43%)
HSVhsv(76, 68%, 65%)
CMYKcmyk(18.2%, 0%, 68.5%, 35.3%)
CIE-LABlab(63.60, -26.77, 52.72)
CIE-LCHlch(63.60, 59.13, 116.92°)
OKLaboklab(67.7% -0.0776 0.1191)
OKLCHoklch(67.7% 0.142 123.1)
XYZxyz(24.0669, 32.3090, 8.2165)
Luminance0.3231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A534 #5234A5
analogous
#A58A34 #87A534 #4FA534
triadic
#87A534 #3487A5 #A53487
tetradic
#87A534 #34A58A #5234A5 #A5344F
square
#87A534 #34A58A #5234A5 #A5344F
split-complementary
#87A534 #344FA5 #8A34A5
monochromatic
#3B4817 #617625 #87A534 #A7C74F #BFD67D

Accessibility & contrast

On white

2.81
#87A534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#87A534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A534
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A534#FFFFFF#000000##000000
##87A5341.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B23
Deuteranopia (green-blind)
#AB9A3D
Tritanopia (blue-blind)
#8E9D8E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a534;
/* rgb */ color: rgb(135, 165, 52);
/* oklch */ color: oklch(67.7% 0.142 123.1);
Tailwind
colors: {
  custom: {
    50: '#adbf72',
    500: '#87a534',
    950: '#000000',
  },
}
SCSS
$custom: #87a534;
$custom-light: #adbf72;
$custom-dark: #000000;
JSON
{
  "hex": "#87a534",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 75.929,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67704,
    "c": 0.14214,
    "h": 123.1
  },
  "luminance": 0.32309
}

Semantic roles & 50–950 ramp

primary
#87A534
secondary
#8976BF
accent
#4CDC72
background
#FAFBF7
surface
#F5F7ED
border
#CFD0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87A534

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

Preview Lab → · Contrast checker → · Palette generator →

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