#47872D#47872D

#47872D is a mid, vivid green. Relative luminance 0.189; OKLCH L 56.1% C 0.140 H 137.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#47872D
RGBrgb(71, 135, 45)
HSLhsl(103, 50%, 35%)
HSVhsv(103, 67%, 53%)
CMYKcmyk(47.4%, 0%, 66.7%, 47.1%)
CIE-LABlab(50.52, -37.74, 40.74)
CIE-LCHlch(50.52, 55.53, 132.81°)
OKLaboklab(56.08% -0.1041 0.094)
OKLCHoklch(56.08% 0.14 137.9)
XYZxyz(11.7358, 18.8562, 5.5033)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47872D #6D2D87
analogous
#74872D #47872D #2D8740
triadic
#47872D #2D4787 #872D47
tetradic
#47872D #2D7487 #6D2D87 #87402D
square
#47872D #2D7487 #6D2D87 #87402D
split-complementary
#47872D #402D87 #872D74
monochromatic
#172B0E #2F591E #47872D #5FB53C #81CB63

Accessibility & contrast

On white

4.40
#47872D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#47872D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #47872D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47872D#FFFFFF#000000##000000
##47872D1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C22
Deuteranopia (green-blind)
#837635
Tritanopia (blue-blind)
#438274
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #47872d;
/* rgb */ color: rgb(71, 135, 45);
/* oklch */ color: oklch(56.1% 0.140 137.9);
Tailwind
colors: {
  custom: {
    50: '#80aa6a',
    500: '#47872d',
    950: '#000000',
  },
}
SCSS
$custom: #47872d;
$custom-light: #80aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#47872d",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 102.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56077,
    "c": 0.14026,
    "h": 137.9
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#47872D
secondary
#9A5EB2
accent
#4EDAB1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #47872D

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

Preview Lab → · Contrast checker → · Palette generator →

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