#47971C#47971C

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

Color values

HEX#47971C
RGBrgb(71, 151, 28)
HSLhsl(99, 69%, 35%)
HSVhsv(99, 81%, 59%)
CMYKcmyk(53%, 0%, 81.5%, 40.8%)
CIE-LABlab(55.64, -45.53, 52.31)
CIE-LCHlch(55.64, 69.35, 131.03°)
OKLaboklab(60.25% -0.1263 0.1158)
OKLCHoklch(60.25% 0.171 137.5)
XYZxyz(13.8743, 23.5556, 4.9140)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47971C #6C1C97
analogous
#85971C #47971C #1C972E
triadic
#47971C #1C4797 #971C47
tetradic
#47971C #1C8597 #6C1C97 #972E1C
square
#47971C #1C8597 #6C1C97 #972E1C
split-complementary
#47971C #2E1C97 #971C85
monochromatic
#163009 #2F6312 #47971C #5FCB26 #81DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #47971c;
/* rgb */ color: rgb(71, 151, 28);
/* oklch */ color: oklch(60.3% 0.171 137.5);
Tailwind
colors: {
  custom: {
    50: '#83b664',
    500: '#47971c',
    950: '#000000',
  },
}
SCSS
$custom: #47971c;
$custom-light: #83b664;
$custom-dark: #000000;
JSON
{
  "hex": "#47971c",
  "rgb": {
    "r": 71,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 99.024,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60251,
    "c": 0.17134,
    "h": 137.5
  },
  "luminance": 0.23557
}

Semantic roles & 50–950 ramp

primary
#47971C
secondary
#994EC1
accent
#3CECAE
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #47971C

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

Preview Lab → · Contrast checker → · Palette generator →

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