#47871B#47871B

#47871B is a mid, vivid yellow-green. Relative luminance 0.187; 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#47871B
RGBrgb(71, 135, 27)
HSLhsl(96, 67%, 32%)
HSVhsv(96, 80%, 53%)
CMYKcmyk(47.4%, 0%, 80%, 47.1%)
CIE-LABlab(50.39, -39.15, 47.69)
CIE-LCHlch(50.39, 61.70, 129.38°)
OKLaboklab(55.93% -0.1092 0.106)
OKLCHoklch(55.93% 0.152 135.9)
XYZxyz(11.4600, 18.7459, 4.0512)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47871B #5B1B87
analogous
#7D871B #47871B #1B8725
triadic
#47871B #1B4787 #871B47
tetradic
#47871B #1B7D87 #5B1B87 #87251B
square
#47871B #1B7D87 #5B1B87 #87251B
split-complementary
#47871B #251B87 #871B7D
monochromatic
#112107 #2C5411 #47871B #62BA25 #80D943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47871B#FFFFFF#000000##000000
##47871B1.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)
#8C7B00
Deuteranopia (green-blind)
#847627
Tritanopia (blue-blind)
#448273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #47871b;
/* rgb */ color: rgb(71, 135, 27);
/* oklch */ color: oklch(55.9% 0.152 135.9);
Tailwind
colors: {
  custom: {
    50: '#81aa61',
    500: '#47871b',
    950: '#000000',
  },
}
SCSS
$custom: #47871b;
$custom-light: #81aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#47871b",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 95.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55929,
    "c": 0.15218,
    "h": 135.9
  },
  "luminance": 0.18747
}

Semantic roles & 50–950 ramp

primary
#47871B
secondary
#8A44BA
accent
#3EEAA4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #47871B

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

Preview Lab → · Contrast checker → · Palette generator →

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