#47872B#47872B

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

Color values

HEX#47872B
RGBrgb(71, 135, 43)
HSLhsl(102, 52%, 35%)
HSVhsv(102, 68%, 53%)
CMYKcmyk(47.4%, 0%, 68.1%, 47.1%)
CIE-LABlab(50.50, -37.93, 41.61)
CIE-LCHlch(50.50, 56.30, 132.35°)
OKLaboklab(56.06% -0.1048 0.0956)
OKLCHoklch(56.06% 0.142 137.6)
XYZxyz(11.6982, 18.8412, 5.3053)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47872B #6B2B87
analogous
#75872B #47872B #2B873D
triadic
#47872B #2B4787 #872B47
tetradic
#47872B #2B7587 #6B2B87 #873D2B
square
#47872B #2B7587 #6B2B87 #873D2B
split-complementary
#47872B #3D2B87 #872B75
monochromatic
#162A0D #2F591C #47872B #5FB53A #81CC60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47872B#FFFFFF#000000##000000
##47872B1.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)
#8B7C1F
Deuteranopia (green-blind)
#837633
Tritanopia (blue-blind)
#438274
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #47872b;
/* rgb */ color: rgb(71, 135, 43);
/* oklch */ color: oklch(56.1% 0.142 137.6);
Tailwind
colors: {
  custom: {
    50: '#80aa69',
    500: '#47872b',
    950: '#000000',
  },
}
SCSS
$custom: #47872b;
$custom-light: #80aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#47872b",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 101.739,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56057,
    "c": 0.14182,
    "h": 137.6
  },
  "luminance": 0.18842
}

Semantic roles & 50–950 ramp

primary
#47872B
secondary
#985BB2
accent
#4DDBB0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #47872B

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

Preview Lab → · Contrast checker → · Palette generator →

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