#47971F#47971F

#47971F is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.3% C 0.170 H 137.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#47971F
RGBrgb(71, 151, 31)
HSLhsl(100, 66%, 36%)
HSVhsv(100, 79%, 59%)
CMYKcmyk(53%, 0%, 79.5%, 40.8%)
CIE-LABlab(55.66, -45.36, 51.39)
CIE-LCHlch(55.66, 68.54, 131.43°)
OKLaboklab(60.27% -0.1257 0.1143)
OKLCHoklch(60.27% 0.17 137.7)
XYZxyz(13.9120, 23.5707, 5.1126)
Luminance0.2357 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47971F #6F1F97
analogous
#83971F #47971F #1F9733
triadic
#47971F #1F4797 #971F47
tetradic
#47971F #1F8397 #6F1F97 #97331F
square
#47971F #1F8397 #6F1F97 #97331F
split-complementary
#47971F #331F97 #971F83
monochromatic
#17310A #2F6415 #47971F #5FCA29 #82DC54

Accessibility & contrast

On white

3.67
#47971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#47971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #47971F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47971F#FFFFFF#000000##000000
##47971F1.003.675.715.71
#FFFFFF3.671.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#419181
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #47971f;
/* rgb */ color: rgb(71, 151, 31);
/* oklch */ color: oklch(60.3% 0.170 137.7);
Tailwind
colors: {
  custom: {
    50: '#83b665',
    500: '#47971f',
    950: '#000000',
  },
}
SCSS
$custom: #47971f;
$custom-light: #83b665;
$custom-dark: #000000;
JSON
{
  "hex": "#47971f",
  "rgb": {
    "r": 71,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 100,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60269,
    "c": 0.16987,
    "h": 137.7
  },
  "luminance": 0.23572
}

Semantic roles & 50–950 ramp

primary
#47971F
secondary
#9B52BF
accent
#3FE9B0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #47971F

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

Preview Lab → · Contrast checker → · Palette generator →

#47971F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva