#47871D#47871D

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

Color values

HEX#47871D
RGBrgb(71, 135, 29)
HSLhsl(96, 65%, 32%)
HSVhsv(96, 79%, 53%)
CMYKcmyk(47.4%, 0%, 78.5%, 47.1%)
CIE-LABlab(50.40, -39.02, 47.03)
CIE-LCHlch(50.40, 61.11, 129.68°)
OKLaboklab(55.94% -0.1087 0.1049)
OKLCHoklch(55.94% 0.151 136)
XYZxyz(11.4840, 18.7555, 4.1772)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47871D #5D1D87
analogous
#7C871D #47871D #1D8728
triadic
#47871D #1D4787 #871D47
tetradic
#47871D #1D7C87 #5D1D87 #87281D
square
#47871D #1D7C87 #5D1D87 #87281D
split-complementary
#47871D #281D87 #871D7C
monochromatic
#122207 #2D5512 #47871D #61B928 #80D747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47871D#FFFFFF#000000##000000
##47871D1.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)
#8C7B03
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#448273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #47871d;
/* rgb */ color: rgb(71, 135, 29);
/* oklch */ color: oklch(55.9% 0.151 136.0);
Tailwind
colors: {
  custom: {
    50: '#81aa62',
    500: '#47871d',
    950: '#000000',
  },
}
SCSS
$custom: #47871d;
$custom-light: #81aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#47871d",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 96.226,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55941,
    "c": 0.15109,
    "h": 136
  },
  "luminance": 0.18756
}

Semantic roles & 50–950 ramp

primary
#47871D
secondary
#8C46B9
accent
#40E8A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #47871D

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

Preview Lab → · Contrast checker → · Palette generator →

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