#71AF31#71AF31

#71AF31 is a light, vivid yellow-green. Relative luminance 0.344; OKLCH L 68.7% C 0.168 H 132.3°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#71AF31
RGBrgb(113, 175, 49)
HSLhsl(90, 56%, 44%)
HSVhsv(90, 72%, 69%)
CMYKcmyk(35.4%, 0%, 72%, 31.4%)
CIE-LABlab(65.27, -40.12, 55.16)
CIE-LCHlch(65.27, 68.21, 126.03°)
OKLaboklab(68.71% -0.113 0.1242)
OKLCHoklch(68.71% 0.168 132.3)
XYZxyz(22.6941, 34.3915, 8.3476)
Luminance0.3439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71AF31 #6F31AF
analogous
#AFAE31 #71AF31 #32AF31
triadic
#71AF31 #3171AF #AF3171
tetradic
#71AF31 #31AFAE #6F31AF #AF3132
square
#71AF31 #31AFAE #6F31AF #AF3132
split-complementary
#71AF31 #3132AF #AE31AF
monochromatic
#334F16 #527F24 #71AF31 #90CE4F #AEDB7F

Accessibility & contrast

On white

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

On black

7.88
#71AF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #71AF31
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71AF31#FFFFFF#000000##000000
##71AF311.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A21B
Deuteranopia (green-blind)
#AE9D3D
Tritanopia (blue-blind)
#72A896
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #71af31;
/* rgb */ color: rgb(113, 175, 49);
/* oklch */ color: oklch(68.7% 0.168 132.3);
Tailwind
colors: {
  custom: {
    50: '#9fc771',
    500: '#71af31',
    950: '#000000',
  },
}
SCSS
$custom: #71af31;
$custom-light: #9fc771;
$custom-dark: #000000;
JSON
{
  "hex": "#71af31",
  "rgb": {
    "r": 113,
    "g": 175,
    "b": 49
  },
  "hsl": {
    "h": 89.524,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68711,
    "c": 0.16793,
    "h": 132.3
  },
  "luminance": 0.34392
}

Semantic roles & 50–950 ramp

primary
#71AF31
secondary
#9D78C4
accent
#48E093
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#0F1308
muted
#7F827B

Preview Lab

Preview with #71AF31

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

Preview Lab → · Contrast checker → · Palette generator →

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