#87A226#87A226

#87A226 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.9% C 0.147 H 121.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#87A226
RGBrgb(135, 162, 38)
HSLhsl(73, 62%, 39%)
HSVhsv(73, 77%, 64%)
CMYKcmyk(16.7%, 0%, 76.5%, 36.5%)
CIE-LABlab(62.62, -26.12, 56.92)
CIE-LCHlch(62.62, 62.62, 114.65°)
OKLaboklab(66.88% -0.077 0.1256)
OKLCHoklch(66.88% 0.147 121.5)
XYZxyz(23.2622, 31.1315, 6.6168)
Luminance0.3113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A226 #4126A2
analogous
#A27F26 #87A226 #49A226
triadic
#87A226 #2687A2 #A22687
tetradic
#87A226 #26A27F #4126A2 #A22649
square
#87A226 #26A27F #4126A2 #A22649
split-complementary
#87A226 #2649A2 #7F26A2
monochromatic
#343F0F #5E701A #87A226 #AED035 #C2DB67

Accessibility & contrast

On white

2.91
#87A226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#87A226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A226
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A226#FFFFFF#000000##000000
##87A2261.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9807
Deuteranopia (green-blind)
#A99832
Tritanopia (blue-blind)
#8F998B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #87a226;
/* rgb */ color: rgb(135, 162, 38);
/* oklch */ color: oklch(66.9% 0.147 121.5);
Tailwind
colors: {
  custom: {
    50: '#adbd6a',
    500: '#87a226',
    950: '#000000',
  },
}
SCSS
$custom: #87a226;
$custom-light: #adbd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#87a226",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 73.065,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66885,
    "c": 0.14737,
    "h": 121.5
  },
  "luminance": 0.31131
}

Semantic roles & 50–950 ramp

primary
#87A226
secondary
#7763C1
accent
#43E566
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87A226

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

Preview Lab → · Contrast checker → · Palette generator →

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