#87A529#87A529

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

Color values

HEX#87A529
RGBrgb(135, 165, 41)
HSLhsl(75, 60%, 40%)
HSVhsv(75, 75%, 65%)
CMYKcmyk(18.2%, 0%, 75.2%, 35.3%)
CIE-LABlab(63.53, -27.42, 56.76)
CIE-LCHlch(63.53, 63.04, 115.79°)
OKLaboklab(67.62% -0.0804 0.1258)
OKLCHoklch(67.62% 0.149 122.6)
XYZxyz(23.8474, 32.2212, 7.0604)
Luminance0.3222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A529 #4729A5
analogous
#A58529 #87A529 #49A529
triadic
#87A529 #2987A5 #A52987
tetradic
#87A529 #29A585 #4729A5 #A52949
square
#87A529 #29A585 #4729A5 #A52949
split-complementary
#87A529 #2949A5 #8529A5
monochromatic
#374311 #5F741D #87A529 #ABCF3D #C0DB6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #87a529;
/* rgb */ color: rgb(135, 165, 41);
/* oklch */ color: oklch(67.6% 0.149 122.6);
Tailwind
colors: {
  custom: {
    50: '#adbf6c',
    500: '#87a529',
    950: '#000000',
  },
}
SCSS
$custom: #87a529;
$custom-light: #adbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#87a529",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 74.516,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67623,
    "c": 0.14929,
    "h": 122.6
  },
  "luminance": 0.32221
}

Semantic roles & 50–950 ramp

primary
#87A529
secondary
#7E68C2
accent
#44E36B
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87A529

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

Preview Lab → · Contrast checker → · Palette generator →

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