#47971A#47971A

#47971A is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 60.2% C 0.172 H 137.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#47971A
RGBrgb(71, 151, 26)
HSLhsl(98, 71%, 35%)
HSVhsv(98, 83%, 59%)
CMYKcmyk(53%, 0%, 82.8%, 40.8%)
CIE-LABlab(55.63, -45.63, 52.89)
CIE-LCHlch(55.63, 69.85, 130.79°)
OKLaboklab(60.24% -0.1267 0.1167)
OKLCHoklch(60.24% 0.172 137.3)
XYZxyz(13.8511, 23.5463, 4.7921)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47971A #6A1A97
analogous
#86971A #47971A #1A972C
triadic
#47971A #1A4797 #971A47
tetradic
#47971A #1A8697 #6A1A97 #972C1A
square
#47971A #1A8697 #6A1A97 #972C1A
split-complementary
#47971A #2C1A97 #971A86
monochromatic
#162F08 #2E6311 #47971A #60CB23 #81E04B

Accessibility & contrast

On white

3.68
#47971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##47971A#FFFFFF#000000##000000
##47971A1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#419180
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #47971a;
/* rgb */ color: rgb(71, 151, 26);
/* oklch */ color: oklch(60.2% 0.172 137.3);
Tailwind
colors: {
  custom: {
    50: '#83b663',
    500: '#47971a',
    950: '#000000',
  },
}
SCSS
$custom: #47971a;
$custom-light: #83b663;
$custom-dark: #000000;
JSON
{
  "hex": "#47971a",
  "rgb": {
    "r": 71,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 98.4,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60241,
    "c": 0.17225,
    "h": 137.3
  },
  "luminance": 0.23547
}

Semantic roles & 50–950 ramp

primary
#47971A
secondary
#974BC2
accent
#3AEDAD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #47971A

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

Preview Lab → · Contrast checker → · Palette generator →

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