#71AF2A#71AF2A

#71AF2A is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 68.7% C 0.172 H 131.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#71AF2A
RGBrgb(113, 175, 42)
HSLhsl(88, 61%, 43%)
HSVhsv(88, 76%, 69%)
CMYKcmyk(35.4%, 0%, 76%, 31.4%)
CIE-LABlab(65.23, -40.56, 57.60)
CIE-LCHlch(65.23, 70.44, 125.15°)
OKLaboklab(68.66% -0.1147 0.1283)
OKLCHoklch(68.66% 0.172 131.8)
XYZxyz(22.5577, 34.3369, 7.6292)
Luminance0.3434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71AF2A #682AAF
analogous
#AFAA2A #71AF2A #2FAF2A
triadic
#71AF2A #2A71AF #AF2A71
tetradic
#71AF2A #2AAFAA #682AAF #AF2A2F
square
#71AF2A #2AAFAA #682AAF #AF2A2F
split-complementary
#71AF2A #2A2FAF #AA2AAF
monochromatic
#314C12 #517E1E #71AF2A #90D244 #ADDE75

Accessibility & contrast

On white

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

On black

7.87
#71AF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #71AF2A
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71AF2A#FFFFFF#000000##000000
##71AF2A1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A10A
Deuteranopia (green-blind)
#AE9D38
Tritanopia (blue-blind)
#73A896
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #71af2a;
/* rgb */ color: rgb(113, 175, 42);
/* oklch */ color: oklch(68.7% 0.172 131.8);
Tailwind
colors: {
  custom: {
    50: '#9fc76e',
    500: '#71af2a',
    950: '#000000',
  },
}
SCSS
$custom: #71af2a;
$custom-light: #9fc76e;
$custom-dark: #000000;
JSON
{
  "hex": "#71af2a",
  "rgb": {
    "r": 113,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 87.97,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68662,
    "c": 0.17209,
    "h": 131.8
  },
  "luminance": 0.34338
}

Semantic roles & 50–950 ramp

primary
#71AF2A
secondary
#976FC6
accent
#43E48E
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#0F1308
muted
#7F827B

Preview Lab

Preview with #71AF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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