#47871E#47871E

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

Color values

HEX#47871E
RGBrgb(71, 135, 30)
HSLhsl(97, 64%, 32%)
HSVhsv(97, 78%, 53%)
CMYKcmyk(47.4%, 0%, 77.8%, 47.1%)
CIE-LABlab(50.41, -38.96, 46.68)
CIE-LCHlch(50.41, 60.80, 129.84°)
OKLaboklab(55.95% -0.1085 0.1043)
OKLCHoklch(55.95% 0.151 136.1)
XYZxyz(11.4965, 18.7605, 4.2434)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47871E #5E1E87
analogous
#7C871E #47871E #1E8729
triadic
#47871E #1E4787 #871E47
tetradic
#47871E #1E7C87 #5E1E87 #87291E
square
#47871E #1E7C87 #5E1E87 #87291E
split-complementary
#47871E #291E87 #871E7C
monochromatic
#122308 #2D5513 #47871E #61B929 #80D749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47871E#FFFFFF#000000##000000
##47871E1.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)
#8C7B06
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#448273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #47871e;
/* rgb */ color: rgb(71, 135, 30);
/* oklch */ color: oklch(55.9% 0.151 136.1);
Tailwind
colors: {
  custom: {
    50: '#81aa62',
    500: '#47871e',
    950: '#000000',
  },
}
SCSS
$custom: #47871e;
$custom-light: #81aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#47871e",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 96.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55948,
    "c": 0.15052,
    "h": 136.1
  },
  "luminance": 0.18761
}

Semantic roles & 50–950 ramp

primary
#47871E
secondary
#8D48B9
accent
#41E7A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #47871E

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

Preview Lab → · Contrast checker → · Palette generator →

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