#87A523#87A523

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

Color values

HEX#87A523
RGBrgb(135, 165, 35)
HSLhsl(74, 65%, 39%)
HSVhsv(74, 79%, 65%)
CMYKcmyk(18.2%, 0%, 78.8%, 35.3%)
CIE-LABlab(63.49, -27.71, 58.69)
CIE-LCHlch(63.49, 64.90, 115.28°)
OKLaboklab(67.59% -0.0816 0.1289)
OKLCHoklch(67.59% 0.153 122.4)
XYZxyz(23.7505, 32.1824, 6.5504)
Luminance0.3218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A523 #4123A5
analogous
#A58223 #87A523 #46A523
triadic
#87A523 #2387A5 #A52387
tetradic
#87A523 #23A582 #4123A5 #A52346
square
#87A523 #23A582 #4123A5 #A52346
split-complementary
#87A523 #2346A5 #8223A5
monochromatic
#34400E #5E7318 #87A523 #AED332 #C2DE64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A523#FFFFFF#000000##000000
##87A5231.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)
#AF9A00
Deuteranopia (green-blind)
#AB9A30
Tritanopia (blue-blind)
#8E9C8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #87a523;
/* rgb */ color: rgb(135, 165, 35);
/* oklch */ color: oklch(67.6% 0.153 122.4);
Tailwind
colors: {
  custom: {
    50: '#aebf6a',
    500: '#87a523',
    950: '#000000',
  },
}
SCSS
$custom: #87a523;
$custom-light: #aebf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#87a523",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 35
  },
  "hsl": {
    "h": 73.846,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67587,
    "c": 0.15256,
    "h": 122.4
  },
  "luminance": 0.32183
}

Semantic roles & 50–950 ramp

primary
#87A523
secondary
#7760C4
accent
#40E867
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87A523

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

Preview Lab → · Contrast checker → · Palette generator →

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