#71AF27#71AF27

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

Color values

HEX#71AF27
RGBrgb(113, 175, 39)
HSLhsl(87, 64%, 42%)
HSVhsv(87, 78%, 69%)
CMYKcmyk(35.4%, 0%, 77.7%, 31.4%)
CIE-LABlab(65.21, -40.72, 58.56)
CIE-LCHlch(65.21, 71.33, 124.81°)
OKLaboklab(68.64% -0.1154 0.1298)
OKLCHoklch(68.64% 0.174 131.6)
XYZxyz(22.5060, 34.3162, 7.3569)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71AF27 #6527AF
analogous
#AFA927 #71AF27 #2DAF27
triadic
#71AF27 #2771AF #AF2771
tetradic
#71AF27 #27AFA9 #6527AF #AF272D
square
#71AF27 #27AFA9 #6527AF #AF272D
split-complementary
#71AF27 #272DAF #A927AF
monochromatic
#304B11 #517D1C #71AF27 #90D43F #ADDF71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71AF27#FFFFFF#000000##000000
##71AF271.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)
#AE9D35
Tritanopia (blue-blind)
#73A896
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #71af27;
/* rgb */ color: rgb(113, 175, 39);
/* oklch */ color: oklch(68.6% 0.174 131.6);
Tailwind
colors: {
  custom: {
    50: '#9fc76c',
    500: '#71af27',
    950: '#000000',
  },
}
SCSS
$custom: #71af27;
$custom-light: #9fc76c;
$custom-dark: #000000;
JSON
{
  "hex": "#71af27",
  "rgb": {
    "r": 113,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 87.353,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68644,
    "c": 0.17369,
    "h": 131.6
  },
  "luminance": 0.34317
}

Semantic roles & 50–950 ramp

primary
#71AF27
secondary
#956BC6
accent
#41E78D
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#0F1307
muted
#7F827A

Preview Lab

Preview with #71AF27

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

Preview Lab → · Contrast checker → · Palette generator →

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