#87A528#87A528

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

Color values

HEX#87A528
RGBrgb(135, 165, 40)
HSLhsl(74, 61%, 40%)
HSVhsv(74, 76%, 65%)
CMYKcmyk(18.2%, 0%, 75.8%, 35.3%)
CIE-LABlab(63.52, -27.47, 57.10)
CIE-LCHlch(63.52, 63.37, 115.70°)
OKLaboklab(67.62% -0.0806 0.1264)
OKLCHoklch(67.62% 0.15 122.5)
XYZxyz(23.8301, 32.2143, 6.9696)
Luminance0.3221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A528 #4628A5
analogous
#A58428 #87A528 #48A528
triadic
#87A528 #2887A5 #A52887
tetradic
#87A528 #28A584 #4628A5 #A52848
square
#87A528 #28A584 #4628A5 #A52848
split-complementary
#87A528 #2848A5 #8428A5
monochromatic
#364210 #5F741C #87A528 #ACCF3B #C1DB6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A528#FFFFFF#000000##000000
##87A5281.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)
#AF9B0B
Deuteranopia (green-blind)
#AB9A34
Tritanopia (blue-blind)
#8E9C8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a528;
/* rgb */ color: rgb(135, 165, 40);
/* oklch */ color: oklch(67.6% 0.150 122.5);
Tailwind
colors: {
  custom: {
    50: '#adbf6c',
    500: '#87a528',
    950: '#000000',
  },
}
SCSS
$custom: #87a528;
$custom-light: #adbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#87a528",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 74.4,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67616,
    "c": 0.14987,
    "h": 122.5
  },
  "luminance": 0.32214
}

Semantic roles & 50–950 ramp

primary
#87A528
secondary
#7D67C2
accent
#44E46A
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87A528

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

Preview Lab → · Contrast checker → · Palette generator →

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