#71AF28#71AF28

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

Color values

HEX#71AF28
RGBrgb(113, 175, 40)
HSLhsl(88, 63%, 42%)
HSVhsv(88, 77%, 69%)
CMYKcmyk(35.4%, 0%, 77.1%, 31.4%)
CIE-LABlab(65.22, -40.67, 58.25)
CIE-LCHlch(65.22, 71.04, 124.92°)
OKLaboklab(68.65% -0.1152 0.1293)
OKLCHoklch(68.65% 0.173 131.7)
XYZxyz(22.5228, 34.3230, 7.4454)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71AF28 #6628AF
analogous
#AFAA28 #71AF28 #2DAF28
triadic
#71AF28 #2871AF #AF2871
tetradic
#71AF28 #28AFAA #6628AF #AF282D
square
#71AF28 #28AFAA #6628AF #AF282D
split-complementary
#71AF28 #282DAF #AA28AF
monochromatic
#314B11 #517D1D #71AF28 #90D441 #ADDF73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71AF28#FFFFFF#000000##000000
##71AF281.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)
#B7A103
Deuteranopia (green-blind)
#AE9D36
Tritanopia (blue-blind)
#73A896
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #71af28;
/* rgb */ color: rgb(113, 175, 40);
/* oklch */ color: oklch(68.7% 0.173 131.7);
Tailwind
colors: {
  custom: {
    50: '#9fc76d',
    500: '#71af28',
    950: '#000000',
  },
}
SCSS
$custom: #71af28;
$custom-light: #9fc76d;
$custom-dark: #000000;
JSON
{
  "hex": "#71af28",
  "rgb": {
    "r": 113,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 87.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6865,
    "c": 0.17316,
    "h": 131.7
  },
  "luminance": 0.34324
}

Semantic roles & 50–950 ramp

primary
#71AF28
secondary
#966DC6
accent
#42E68D
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#0F1308
muted
#7F827B

Preview Lab

Preview with #71AF28

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

Preview Lab → · Contrast checker → · Palette generator →

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