#87AF26#87AF26

#87AF26 is a light, vivid yellow-green. Relative luminance 0.360; OKLCH L 70.0% C 0.163 H 125.2°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#87AF26
RGBrgb(135, 175, 38)
HSLhsl(78, 64%, 42%)
HSVhsv(78, 78%, 69%)
CMYKcmyk(22.9%, 0%, 78.3%, 31.4%)
CIE-LABlab(66.48, -32.32, 60.52)
CIE-LCHlch(66.48, 68.61, 118.11°)
OKLaboklab(70.01% -0.094 0.1332)
OKLCHoklch(70.01% 0.163 125.2)
XYZxyz(25.6717, 35.9505, 7.4200)
Luminance0.3595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF26 #4E26AF
analogous
#AF9326 #87AF26 #43AF26
triadic
#87AF26 #2687AF #AF2687
tetradic
#87AF26 #26AF93 #4E26AF #AF2643
square
#87AF26 #26AF93 #4E26AF #AF2643
split-complementary
#87AF26 #2643AF #9326AF
monochromatic
#394A10 #607D1B #87AF26 #A9D53D #BFE070

Accessibility & contrast

On white

2.56
#87AF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#87AF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AF26
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AF26#FFFFFF#000000##000000
##87AF261.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#8DA696
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af26;
/* rgb */ color: rgb(135, 175, 38);
/* oklch */ color: oklch(70.0% 0.163 125.2);
Tailwind
colors: {
  custom: {
    50: '#aec76c',
    500: '#87af26',
    950: '#000000',
  },
}
SCSS
$custom: #87af26;
$custom-light: #aec76c;
$custom-dark: #000000;
JSON
{
  "hex": "#87af26",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 77.518,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.7001,
    "c": 0.16305,
    "h": 125.2
  },
  "luminance": 0.35951
}

Semantic roles & 50–950 ramp

primary
#87AF26
secondary
#856AC7
accent
#40E771
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #87AF26

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

Preview Lab → · Contrast checker → · Palette generator →

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