#87A525#87A525

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

Color values

HEX#87A525
RGBrgb(135, 165, 37)
HSLhsl(74, 63%, 40%)
HSVhsv(74, 78%, 65%)
CMYKcmyk(18.2%, 0%, 77.6%, 35.3%)
CIE-LABlab(63.50, -27.62, 58.07)
CIE-LCHlch(63.50, 64.31, 115.44°)
OKLaboklab(67.6% -0.0812 0.1279)
OKLCHoklch(67.6% 0.152 122.4)
XYZxyz(23.7811, 32.1947, 6.7113)
Luminance0.3220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A525 #4325A5
analogous
#A58325 #87A525 #47A525
triadic
#87A525 #2587A5 #A52587
tetradic
#87A525 #25A583 #4325A5 #A52547
square
#87A525 #25A583 #4325A5 #A52547
split-complementary
#87A525 #2547A5 #8325A5
monochromatic
#35410F #5E731A #87A525 #ADD235 #C1DD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A525#FFFFFF#000000##000000
##87A5251.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)
#AF9A01
Deuteranopia (green-blind)
#AB9A31
Tritanopia (blue-blind)
#8E9C8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a525;
/* rgb */ color: rgb(135, 165, 37);
/* oklch */ color: oklch(67.6% 0.152 122.4);
Tailwind
colors: {
  custom: {
    50: '#aebf6a',
    500: '#87a525',
    950: '#000000',
  },
}
SCSS
$custom: #87a525;
$custom-light: #aebf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#87a525",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 37
  },
  "hsl": {
    "h": 74.063,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67598,
    "c": 0.15152,
    "h": 122.4
  },
  "luminance": 0.32195
}

Semantic roles & 50–950 ramp

primary
#87A525
secondary
#7963C3
accent
#41E668
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87A525

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

Preview Lab → · Contrast checker → · Palette generator →

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