#71A228#71A228

#71A228 is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.4% C 0.157 H 129.4°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#71A228
RGBrgb(113, 162, 40)
HSLhsl(84, 60%, 40%)
HSVhsv(84, 75%, 64%)
CMYKcmyk(30.2%, 0%, 75.3%, 36.5%)
CIE-LABlab(61.22, -34.91, 54.41)
CIE-LCHlch(61.22, 64.65, 122.68°)
OKLaboklab(65.39% -0.0996 0.1213)
OKLCHoklch(65.39% 0.157 129.4)
XYZxyz(20.1133, 29.5040, 6.6422)
Luminance0.2950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71A228 #5928A2
analogous
#A29628 #71A228 #34A228
triadic
#71A228 #2871A2 #A22871
tetradic
#71A228 #28A296 #5928A2 #A22834
square
#71A228 #28A296 #5928A2 #A22834
split-complementary
#71A228 #2834A2 #9628A2
monochromatic
#2D4010 #4F711C #71A228 #92CE39 #ADDA6A

Accessibility & contrast

On white

3.04
#71A228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#71A228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #71A228
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71A228#FFFFFF#000000##000000
##71A2281.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960E
Deuteranopia (green-blind)
#A39334
Tritanopia (blue-blind)
#749B8B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #71a228;
/* rgb */ color: rgb(113, 162, 40);
/* oklch */ color: oklch(65.4% 0.157 129.4);
Tailwind
colors: {
  custom: {
    50: '#9ebe6b',
    500: '#71a228',
    950: '#000000',
  },
}
SCSS
$custom: #71a228;
$custom-light: #9ebe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#71a228",
  "rgb": {
    "r": 113,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 84.098,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65394,
    "c": 0.1569,
    "h": 129.4
  },
  "luminance": 0.29505
}

Semantic roles & 50–950 ramp

primary
#71A228
secondary
#8A65C1
accent
#44E484
background
#FAFBF6
surface
#F3F6EC
border
#CDD0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #71A228

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

Preview Lab → · Contrast checker → · Palette generator →

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