#47971B#47971B

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

Color values

HEX#47971B
RGBrgb(71, 151, 27)
HSLhsl(99, 70%, 35%)
HSVhsv(99, 82%, 59%)
CMYKcmyk(53%, 0%, 82.1%, 40.8%)
CIE-LABlab(55.64, -45.58, 52.60)
CIE-LCHlch(55.64, 69.60, 130.91°)
OKLaboklab(60.25% -0.1265 0.1163)
OKLCHoklch(60.25% 0.172 137.4)
XYZxyz(13.8625, 23.5509, 4.8520)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47971B #6B1B97
analogous
#85971B #47971B #1B972D
triadic
#47971B #1B4797 #971B47
tetradic
#47971B #1B8597 #6B1B97 #972D1B
square
#47971B #1B8597 #6B1B97 #972D1B
split-complementary
#47971B #2D1B97 #971B85
monochromatic
#162F08 #2F6312 #47971B #5FCB24 #81DF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47971B#FFFFFF#000000##000000
##47971B1.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)
#92832A
Tritanopia (blue-blind)
#419180
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #47971b;
/* rgb */ color: rgb(71, 151, 27);
/* oklch */ color: oklch(60.2% 0.172 137.4);
Tailwind
colors: {
  custom: {
    50: '#83b663',
    500: '#47971b',
    950: '#000000',
  },
}
SCSS
$custom: #47971b;
$custom-light: #83b663;
$custom-dark: #000000;
JSON
{
  "hex": "#47971b",
  "rgb": {
    "r": 71,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 98.71,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60246,
    "c": 0.17181,
    "h": 137.4
  },
  "luminance": 0.23552
}

Semantic roles & 50–950 ramp

primary
#47971B
secondary
#984CC1
accent
#3BECAE
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #47971B

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

Preview Lab → · Contrast checker → · Palette generator →

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