#47871C#47871C

#47871C is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 55.9% C 0.152 H 135.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#47871C
RGBrgb(71, 135, 28)
HSLhsl(96, 66%, 32%)
HSVhsv(96, 79%, 53%)
CMYKcmyk(47.4%, 0%, 79.3%, 47.1%)
CIE-LABlab(50.39, -39.09, 47.37)
CIE-LCHlch(50.39, 61.41, 129.53°)
OKLaboklab(55.94% -0.109 0.1055)
OKLCHoklch(55.94% 0.152 135.9)
XYZxyz(11.4718, 18.7507, 4.1131)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47871C #5C1C87
analogous
#7D871C #47871C #1C8727
triadic
#47871C #1C4787 #871C47
tetradic
#47871C #1C7D87 #5C1C87 #87271C
square
#47871C #1C7D87 #5C1C87 #87271C
split-complementary
#47871C #271C87 #871C7D
monochromatic
#122207 #2C5411 #47871C #62BA27 #80D845

Accessibility & contrast

On white

4.42
#47871C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#47871C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #47871C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47871C#FFFFFF#000000##000000
##47871C1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B01
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#448273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #47871c;
/* rgb */ color: rgb(71, 135, 28);
/* oklch */ color: oklch(55.9% 0.152 135.9);
Tailwind
colors: {
  custom: {
    50: '#81aa61',
    500: '#47871c',
    950: '#000000',
  },
}
SCSS
$custom: #47871c;
$custom-light: #81aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#47871c",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 95.888,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55935,
    "c": 0.15165,
    "h": 135.9
  },
  "luminance": 0.18751
}

Semantic roles & 50–950 ramp

primary
#47871C
secondary
#8B45BA
accent
#3FE9A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #47871C

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

Preview Lab → · Contrast checker → · Palette generator →

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