#47971D#47971D

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

Color values

HEX#47971D
RGBrgb(71, 151, 29)
HSLhsl(99, 68%, 35%)
HSVhsv(99, 81%, 59%)
CMYKcmyk(53%, 0%, 80.8%, 40.8%)
CIE-LABlab(55.65, -45.47, 52.01)
CIE-LCHlch(55.65, 69.09, 131.16°)
OKLaboklab(60.26% -0.1261 0.1153)
OKLCHoklch(60.26% 0.171 137.6)
XYZxyz(13.8865, 23.5605, 4.9780)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47971D #6D1D97
analogous
#84971D #47971D #1D9730
triadic
#47971D #1D4797 #971D47
tetradic
#47971D #1D8497 #6D1D97 #97301D
square
#47971D #1D8497 #6D1D97 #97301D
split-complementary
#47971D #301D97 #971D84
monochromatic
#173009 #2F6413 #47971D #5FCA27 #81DE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47971D#FFFFFF#000000##000000
##47971D1.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: #47971d;
/* rgb */ color: rgb(71, 151, 29);
/* oklch */ color: oklch(60.3% 0.171 137.6);
Tailwind
colors: {
  custom: {
    50: '#83b664',
    500: '#47971d',
    950: '#000000',
  },
}
SCSS
$custom: #47971d;
$custom-light: #83b664;
$custom-dark: #000000;
JSON
{
  "hex": "#47971d",
  "rgb": {
    "r": 71,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 99.344,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60257,
    "c": 0.17087,
    "h": 137.6
  },
  "luminance": 0.23562
}

Semantic roles & 50–950 ramp

primary
#47971D
secondary
#994FC0
accent
#3DEBAF
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #47971D

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

Preview Lab → · Contrast checker → · Palette generator →

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