#87A626#87A626

#87A626 is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 67.8% C 0.152 H 122.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#87A626
RGBrgb(135, 166, 38)
HSLhsl(75, 63%, 40%)
HSVhsv(75, 77%, 65%)
CMYKcmyk(18.7%, 0%, 77.1%, 34.9%)
CIE-LABlab(63.81, -28.06, 58.03)
CIE-LCHlch(63.81, 64.46, 115.80°)
OKLaboklab(67.84% -0.0824 0.128)
OKLCHoklch(67.84% 0.152 122.8)
XYZxyz(23.9781, 32.5632, 6.8554)
Luminance0.3256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A626 #4526A6
analogous
#A68526 #87A626 #47A626
triadic
#87A626 #2687A6 #A62687
tetradic
#87A626 #26A685 #4526A6 #A62647
square
#87A626 #26A685 #4526A6 #A62647
split-complementary
#87A626 #2647A6 #8526A6
monochromatic
#36420F #5F741B #87A626 #ACD138 #C1DD6A

Accessibility & contrast

On white

2.80
#87A626 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#87A626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A626
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A626#FFFFFF#000000##000000
##87A6261.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B04
Deuteranopia (green-blind)
#AC9A32
Tritanopia (blue-blind)
#8E9D8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #87a626;
/* rgb */ color: rgb(135, 166, 38);
/* oklch */ color: oklch(67.8% 0.152 122.8);
Tailwind
colors: {
  custom: {
    50: '#aec06b',
    500: '#87a626',
    950: '#000000',
  },
}
SCSS
$custom: #87a626;
$custom-light: #aec06b;
$custom-dark: #000000;
JSON
{
  "hex": "#87a626",
  "rgb": {
    "r": 135,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 74.531,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.67844,
    "c": 0.15219,
    "h": 122.8
  },
  "luminance": 0.32563
}

Semantic roles & 50–950 ramp

primary
#87A626
secondary
#7C65C3
accent
#42E66A
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87A626

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

Preview Lab → · Contrast checker → · Palette generator →

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