#47811F#47811F

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

Color values

HEX#47811F
RGBrgb(71, 129, 31)
HSLhsl(96, 61%, 31%)
HSVhsv(96, 76%, 51%)
CMYKcmyk(45%, 0%, 76%, 49.4%)
CIE-LABlab(48.43, -36.34, 44.38)
CIE-LCHlch(48.43, 57.36, 129.31°)
OKLaboklab(54.33% -0.1014 0.0997)
OKLCHoklch(54.33% 0.142 135.5)
XYZxyz(10.6959, 17.1384, 4.0405)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47811F #591F81
analogous
#78811F #47811F #1F8128
triadic
#47811F #1F4781 #811F47
tetradic
#47811F #1F7881 #591F81 #81281F
square
#47811F #1F7881 #591F81 #81281F
split-complementary
#47811F #281F81 #811F78
monochromatic
#111E07 #2C5013 #47811F #62B22B #80D347

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47811F#FFFFFF#000000##FFFFFF
##47811F1.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)
#86760C
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#457C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #47811f;
/* rgb */ color: rgb(71, 129, 31);
/* oklch */ color: oklch(54.3% 0.142 135.5);
Tailwind
colors: {
  custom: {
    50: '#80a662',
    500: '#47811f',
    950: '#000000',
  },
}
SCSS
$custom: #47811f;
$custom-light: #80a662;
$custom-dark: #000000;
JSON
{
  "hex": "#47811f",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 95.51,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54332,
    "c": 0.14216,
    "h": 135.5
  },
  "luminance": 0.17139
}

Semantic roles & 50–950 ramp

primary
#47811F
secondary
#8848B4
accent
#43E4A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #47811F

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

Preview Lab → · Contrast checker → · Palette generator →

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