#47871A#47871A

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

Color values

HEX#47871A
RGBrgb(71, 135, 26)
HSLhsl(95, 68%, 32%)
HSVhsv(95, 81%, 53%)
CMYKcmyk(47.4%, 0%, 80.7%, 47.1%)
CIE-LABlab(50.38, -39.20, 48.02)
CIE-LCHlch(50.38, 61.99, 129.23°)
OKLaboklab(55.92% -0.1094 0.1065)
OKLCHoklch(55.92% 0.153 135.8)
XYZxyz(11.4487, 18.7414, 3.9913)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47871A #5A1A87
analogous
#7E871A #47871A #1A8723
triadic
#47871A #1A4787 #871A47
tetradic
#47871A #1A7E87 #5A1A87 #87231A
square
#47871A #1A7E87 #5A1A87 #87231A
split-complementary
#47871A #231A87 #871A7E
monochromatic
#112006 #2C5410 #47871A #62BA24 #80DA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47871A#FFFFFF#000000##000000
##47871A1.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)
#847626
Tritanopia (blue-blind)
#458273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #47871a;
/* rgb */ color: rgb(71, 135, 26);
/* oklch */ color: oklch(55.9% 0.153 135.8);
Tailwind
colors: {
  custom: {
    50: '#81aa60',
    500: '#47871a',
    950: '#000000',
  },
}
SCSS
$custom: #47871a;
$custom-light: #81aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#47871a",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 95.229,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55922,
    "c": 0.1527,
    "h": 135.8
  },
  "luminance": 0.18742
}

Semantic roles & 50–950 ramp

primary
#47871A
secondary
#8942BA
accent
#3DEBA3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #47871A

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

Preview Lab → · Contrast checker → · Palette generator →

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