#47811D#47811D

#47811D is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.3% C 0.143 H 135.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#47811D
RGBrgb(71, 129, 29)
HSLhsl(95, 63%, 31%)
HSVhsv(95, 78%, 51%)
CMYKcmyk(45%, 0%, 77.5%, 49.4%)
CIE-LABlab(48.42, -36.47, 45.11)
CIE-LCHlch(48.42, 58.01, 128.96°)
OKLaboklab(54.32% -0.1019 0.1009)
OKLCHoklch(54.32% 0.143 135.3)
XYZxyz(10.6703, 17.1282, 3.9060)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47811D #571D81
analogous
#79811D #47811D #1D8125
triadic
#47811D #1D4781 #811D47
tetradic
#47811D #1D7981 #571D81 #81251D
square
#47811D #1D7981 #571D81 #81251D
split-complementary
#47811D #251D81 #811D79
monochromatic
#101D07 #2B4F12 #47811D #63B328 #81D544

Accessibility & contrast

On white

4.74
#47811D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#47811D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #47811D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47811D#FFFFFF#000000##FFFFFF
##47811D1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867607
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#457C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #47811d;
/* rgb */ color: rgb(71, 129, 29);
/* oklch */ color: oklch(54.3% 0.143 135.3);
Tailwind
colors: {
  custom: {
    50: '#80a661',
    500: '#47811d',
    950: '#000000',
  },
}
SCSS
$custom: #47811d;
$custom-light: #80a661;
$custom-dark: #000000;
JSON
{
  "hex": "#47811d",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 94.8,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54317,
    "c": 0.14338,
    "h": 135.3
  },
  "luminance": 0.17129
}

Semantic roles & 50–950 ramp

primary
#47811D
secondary
#8646B4
accent
#41E6A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #47811D

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

Preview Lab → · Contrast checker → · Palette generator →

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