#47851D#47851D

#47851D is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.4% C 0.149 H 135.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#47851D
RGBrgb(71, 133, 29)
HSLhsl(96, 64%, 32%)
HSVhsv(96, 78%, 52%)
CMYKcmyk(46.6%, 0%, 78.2%, 47.8%)
CIE-LABlab(49.74, -38.18, 46.39)
CIE-LCHlch(49.74, 60.08, 129.45°)
OKLaboklab(55.4% -0.1065 0.1036)
OKLCHoklch(55.4% 0.149 135.8)
XYZxyz(11.2076, 18.2027, 4.0851)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47851D #5B1D85
analogous
#7B851D #47851D #1D8527
triadic
#47851D #1D4785 #851D47
tetradic
#47851D #1D7B85 #5B1D85 #85271D
square
#47851D #1D7B85 #5B1D85 #85271D
split-complementary
#47851D #271D85 #851D7B
monochromatic
#112107 #2C5312 #47851D #62B728 #80D746

Accessibility & contrast

On white

4.53
#47851D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#47851D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #47851D
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47851D#FFFFFF#000000##000000
##47851D1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7905
Deuteranopia (green-blind)
#827428
Tritanopia (blue-blind)
#458071
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #47851d;
/* rgb */ color: rgb(71, 133, 29);
/* oklch */ color: oklch(55.4% 0.149 135.8);
Tailwind
colors: {
  custom: {
    50: '#80a961',
    500: '#47851d',
    950: '#000000',
  },
}
SCSS
$custom: #47851d;
$custom-light: #80a961;
$custom-dark: #000000;
JSON
{
  "hex": "#47851d",
  "rgb": {
    "r": 71,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 95.769,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.554,
    "c": 0.14854,
    "h": 135.8
  },
  "luminance": 0.18203
}

Semantic roles & 50–950 ramp

primary
#47851D
secondary
#8A46B8
accent
#41E7A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #47851D

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

Preview Lab → · Contrast checker → · Palette generator →

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