#87A526#87A526

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

Color values

HEX#87A526
RGBrgb(135, 165, 38)
HSLhsl(74, 63%, 40%)
HSVhsv(74, 77%, 65%)
CMYKcmyk(18.2%, 0%, 77%, 35.3%)
CIE-LABlab(63.51, -27.57, 57.75)
CIE-LCHlch(63.51, 64.00, 115.52°)
OKLaboklab(67.6% -0.081 0.1274)
OKLCHoklch(67.6% 0.151 122.5)
XYZxyz(23.7970, 32.2010, 6.7951)
Luminance0.3220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A526 #4426A5
analogous
#A58326 #87A526 #48A526
triadic
#87A526 #2687A5 #A52687
tetradic
#87A526 #26A583 #4426A5 #A52648
square
#87A526 #26A583 #4426A5 #A52648
split-complementary
#87A526 #2648A5 #8326A5
monochromatic
#36420F #5E731B #87A526 #ADD137 #C1DC69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A526#FFFFFF#000000##000000
##87A5261.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)
#AF9B04
Deuteranopia (green-blind)
#AB9A32
Tritanopia (blue-blind)
#8E9C8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a526;
/* rgb */ color: rgb(135, 165, 38);
/* oklch */ color: oklch(67.6% 0.151 122.5);
Tailwind
colors: {
  custom: {
    50: '#aebf6b',
    500: '#87a526',
    950: '#000000',
  },
}
SCSS
$custom: #87a526;
$custom-light: #aebf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#87a526",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 74.173,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67604,
    "c": 0.15099,
    "h": 122.5
  },
  "luminance": 0.32201
}

Semantic roles & 50–950 ramp

primary
#87A526
secondary
#7B64C3
accent
#42E669
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87A526

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

Preview Lab → · Contrast checker → · Palette generator →

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