#71A227#71A227

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

Color values

HEX#71A227
RGBrgb(113, 162, 39)
HSLhsl(84, 61%, 39%)
HSVhsv(84, 76%, 64%)
CMYKcmyk(30.2%, 0%, 75.9%, 36.5%)
CIE-LABlab(61.22, -34.96, 54.75)
CIE-LCHlch(61.22, 64.97, 122.56°)
OKLaboklab(65.39% -0.0998 0.1218)
OKLCHoklch(65.39% 0.157 129.3)
XYZxyz(20.0965, 29.4973, 6.5538)
Luminance0.2950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71A227 #5827A2
analogous
#A29527 #71A227 #34A227
triadic
#71A227 #2771A2 #A22771
tetradic
#71A227 #27A295 #5827A2 #A22734
square
#71A227 #27A295 #5827A2 #A22734
split-complementary
#71A227 #2734A2 #9527A2
monochromatic
#2C3F0F #4F711B #71A227 #93CF37 #ADDB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71A227#FFFFFF#000000##000000
##71A2271.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)
#AA960B
Deuteranopia (green-blind)
#A39333
Tritanopia (blue-blind)
#749B8B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #71a227;
/* rgb */ color: rgb(113, 162, 39);
/* oklch */ color: oklch(65.4% 0.157 129.3);
Tailwind
colors: {
  custom: {
    50: '#9ebe6b',
    500: '#71a227',
    950: '#000000',
  },
}
SCSS
$custom: #71a227;
$custom-light: #9ebe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#71a227",
  "rgb": {
    "r": 113,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 83.902,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65387,
    "c": 0.15747,
    "h": 129.3
  },
  "luminance": 0.29498
}

Semantic roles & 50–950 ramp

primary
#71A227
secondary
#8964C1
accent
#43E484
background
#FAFBF6
surface
#F3F6EC
border
#CDD0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #71A227

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

Preview Lab → · Contrast checker → · Palette generator →

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