#47811A#47811A

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

Color values

HEX#47811A
RGBrgb(71, 129, 26)
HSLhsl(94, 66%, 30%)
HSVhsv(94, 80%, 51%)
CMYKcmyk(45%, 0%, 79.8%, 49.4%)
CIE-LABlab(48.40, -36.66, 46.14)
CIE-LCHlch(48.40, 58.94, 128.47°)
OKLaboklab(54.3% -0.1026 0.1026)
OKLCHoklch(54.3% 0.145 135)
XYZxyz(10.6350, 17.1141, 3.7200)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47811A #541A81
analogous
#7B811A #47811A #1A8120
triadic
#47811A #1A4781 #811A47
tetradic
#47811A #1A7B81 #541A81 #81201A
square
#47811A #1A7B81 #541A81 #81201A
split-complementary
#47811A #201A81 #811A7B
monochromatic
#0F1B05 #2B4E10 #47811A #63B424 #81D83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47811A#FFFFFF#000000##FFFFFF
##47811A1.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)
#867600
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#467C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #47811a;
/* rgb */ color: rgb(71, 129, 26);
/* oklch */ color: oklch(54.3% 0.145 135.0);
Tailwind
colors: {
  custom: {
    50: '#80a65f',
    500: '#47811a',
    950: '#000000',
  },
}
SCSS
$custom: #47811a;
$custom-light: #80a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#47811a",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 93.786,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54297,
    "c": 0.14508,
    "h": 135
  },
  "luminance": 0.17115
}

Semantic roles & 50–950 ramp

primary
#47811A
secondary
#8342B5
accent
#3EE99F
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #47811A

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

Preview Lab → · Contrast checker → · Palette generator →

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