#71AF21#71AF21

#71AF21 is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 68.6% C 0.177 H 131.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#71AF21
RGBrgb(113, 175, 33)
HSLhsl(86, 68%, 41%)
HSVhsv(86, 81%, 69%)
CMYKcmyk(35.4%, 0%, 81.1%, 31.4%)
CIE-LABlab(65.18, -41.02, 60.33)
CIE-LCHlch(65.18, 72.96, 124.21°)
OKLaboklab(68.61% -0.1166 0.1326)
OKLCHoklch(68.61% 0.177 131.3)
XYZxyz(22.4143, 34.2796, 6.8742)
Luminance0.3428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71AF21 #5F21AF
analogous
#AFA621 #71AF21 #2AAF21
triadic
#71AF21 #2171AF #AF2171
tetradic
#71AF21 #21AFA6 #5F21AF #AF212A
square
#71AF21 #21AFA6 #5F21AF #AF212A
split-complementary
#71AF21 #212AAF #A621AF
monochromatic
#2F480E #507C17 #71AF21 #91D934 #ADE368

Accessibility & contrast

On white

2.67
#71AF21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#71AF21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #71AF21
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71AF21#FFFFFF#000000##000000
##71AF211.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#73A795
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #71af21;
/* rgb */ color: rgb(113, 175, 33);
/* oklch */ color: oklch(68.6% 0.177 131.3);
Tailwind
colors: {
  custom: {
    50: '#9fc76a',
    500: '#71af21',
    950: '#000000',
  },
}
SCSS
$custom: #71af21;
$custom-light: #9fc76a;
$custom-dark: #000000;
JSON
{
  "hex": "#71af21",
  "rgb": {
    "r": 113,
    "g": 175,
    "b": 33
  },
  "hsl": {
    "h": 86.197,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68611,
    "c": 0.17657,
    "h": 131.3
  },
  "luminance": 0.3428
}

Semantic roles & 50–950 ramp

primary
#71AF21
secondary
#9064C8
accent
#3DEB89
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#0F1307
muted
#7F827A

Preview Lab

Preview with #71AF21

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

Preview Lab → · Contrast checker → · Palette generator →

#71AF21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva