#87A245#87A245

#87A245 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 67.2% C 0.124 H 123.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#87A245
RGBrgb(135, 162, 69)
HSLhsl(77, 40%, 45%)
HSVhsv(77, 57%, 64%)
CMYKcmyk(16.7%, 0%, 57.4%, 36.5%)
CIE-LABlab(62.86, -23.95, 44.46)
CIE-LCHlch(62.86, 50.50, 118.31°)
OKLaboklab(67.16% -0.0681 0.1038)
OKLCHoklch(67.16% 0.124 123.3)
XYZxyz(23.9863, 31.4211, 10.4303)
Luminance0.3142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A245 #6045A2
analogous
#A28E45 #87A245 #59A245
triadic
#87A245 #4587A2 #A24587
tetradic
#87A245 #45A28E #6045A2 #A24559
square
#87A245 #45A28E #6045A2 #A24559
split-complementary
#87A245 #4559A2 #8E45A2
monochromatic
#3F4C20 #637733 #87A245 #A4BE66 #BED091

Accessibility & contrast

On white

2.88
#87A245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#87A245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A245
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A245#FFFFFF#000000##000000
##87A2451.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB993B
Deuteranopia (green-blind)
#A7984B
Tritanopia (blue-blind)
#8D9B8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #87a245;
/* rgb */ color: rgb(135, 162, 69);
/* oklch */ color: oklch(67.2% 0.124 123.3);
Tailwind
colors: {
  custom: {
    50: '#acbd7c',
    500: '#87a245',
    950: '#000000',
  },
}
SCSS
$custom: #87a245;
$custom-light: #acbd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#87a245",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 77.419,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.67159,
    "c": 0.12416,
    "h": 123.3
  },
  "luminance": 0.31421
}

Semantic roles & 50–950 ramp

primary
#87A245
secondary
#9687BC
accent
#58D07B
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #87A245

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

Preview Lab → · Contrast checker → · Palette generator →

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