#71AF40#71AF40

#71AF40 is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 68.8% C 0.157 H 133.7°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#71AF40
RGBrgb(113, 175, 64)
HSLhsl(94, 46%, 47%)
HSVhsv(94, 63%, 69%)
CMYKcmyk(35.4%, 0%, 63.4%, 31.4%)
CIE-LABlab(65.39, -38.94, 49.19)
CIE-LCHlch(65.39, 62.74, 128.37°)
OKLaboklab(68.84% -0.1086 0.1136)
OKLCHoklch(68.84% 0.157 133.7)
XYZxyz(23.0650, 34.5398, 10.3011)
Luminance0.3454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71AF40 #7E40AF
analogous
#A9AF40 #71AF40 #40AF47
triadic
#71AF40 #4071AF #AF4071
tetradic
#71AF40 #40A9AF #7E40AF #AF4740
square
#71AF40 #40A9AF #7E40AF #AF4740
split-complementary
#71AF40 #4740AF #AF40A9
monochromatic
#37551F #548230 #71AF40 #90C765 #B1D792

Accessibility & contrast

On white

2.66
#71AF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#71AF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #71AF40
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71AF40#FFFFFF#000000##000000
##71AF401.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A233
Deuteranopia (green-blind)
#AD9D49
Tritanopia (blue-blind)
#71A898
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #71af40;
/* rgb */ color: rgb(113, 175, 64);
/* oklch */ color: oklch(68.8% 0.157 133.7);
Tailwind
colors: {
  custom: {
    50: '#9ec77a',
    500: '#71af40',
    950: '#000000',
  },
}
SCSS
$custom: #71af40;
$custom-light: #9ec77a;
$custom-dark: #000000;
JSON
{
  "hex": "#71af40",
  "rgb": {
    "r": 113,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 93.514,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.68844,
    "c": 0.15721,
    "h": 133.7
  },
  "luminance": 0.34541
}

Semantic roles & 50–950 ramp

primary
#71AF40
secondary
#A988C3
accent
#52D69C
background
#FAFCF7
surface
#F3F8EE
border
#CDD1C9
text
#0F1309
muted
#7F827B

Preview Lab

Preview with #71AF40

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

Preview Lab → · Contrast checker → · Palette generator →

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