#47811B#47811B

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

Color values

HEX#47811B
RGBrgb(71, 129, 27)
HSLhsl(94, 65%, 31%)
HSVhsv(94, 79%, 51%)
CMYKcmyk(45%, 0%, 79.1%, 49.4%)
CIE-LABlab(48.41, -36.60, 45.81)
CIE-LCHlch(48.41, 58.63, 128.63°)
OKLaboklab(54.3% -0.1024 0.102)
OKLCHoklch(54.3% 0.145 135.1)
XYZxyz(10.6464, 17.1186, 3.7799)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47811B #551B81
analogous
#7A811B #47811B #1B8122
triadic
#47811B #1B4781 #811B47
tetradic
#47811B #1B7A81 #551B81 #81221B
square
#47811B #1B7A81 #551B81 #81221B
split-complementary
#47811B #221B81 #811B7A
monochromatic
#0F1C06 #2B4E10 #47811B #63B426 #81D73F

Accessibility & contrast

On white

4.75
#47811B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#47811B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #47811B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47811B#FFFFFF#000000##FFFFFF
##47811B1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #47811b;
/* rgb */ color: rgb(71, 129, 27);
/* oklch */ color: oklch(54.3% 0.145 135.1);
Tailwind
colors: {
  custom: {
    50: '#80a660',
    500: '#47811b',
    950: '#000000',
  },
}
SCSS
$custom: #47811b;
$custom-light: #80a660;
$custom-dark: #000000;
JSON
{
  "hex": "#47811b",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 94.118,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54304,
    "c": 0.14453,
    "h": 135.1
  },
  "luminance": 0.17119
}

Semantic roles & 50–950 ramp

primary
#47811B
secondary
#8443B5
accent
#3FE89F
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #47811B

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

Preview Lab → · Contrast checker → · Palette generator →

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