#47791A#47791A

#47791A is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.1% C 0.135 H 133.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#47791A
RGBrgb(71, 121, 26)
HSLhsl(92, 65%, 29%)
HSVhsv(92, 79%, 47%)
CMYKcmyk(41.3%, 0%, 78.5%, 52.5%)
CIE-LABlab(45.76, -33.15, 43.60)
CIE-LCHlch(45.76, 54.78, 127.25°)
OKLaboklab(52.13% -0.0931 0.0973)
OKLCHoklch(52.13% 0.135 133.8)
XYZxyz(9.6222, 15.0884, 3.3824)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47791A #4C1A79
analogous
#77791A #47791A #1A791D
triadic
#47791A #1A4779 #791A47
tetradic
#47791A #1A7779 #4C1A79 #791D1A
square
#47791A #1A7779 #4C1A79 #791D1A
split-complementary
#47791A #1D1A79 #791A77
monochromatic
#0F1905 #29470F #47791A #65AB25 #83D439

Accessibility & contrast

On white

5.23
#47791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#47791A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #47791A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47791A#FFFFFF#000000##FFFFFF
##47791A1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F05
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#477467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #47791a;
/* rgb */ color: rgb(71, 121, 26);
/* oklch */ color: oklch(52.1% 0.135 133.8);
Tailwind
colors: {
  custom: {
    50: '#7fa05e',
    500: '#47791a',
    950: '#000000',
  },
}
SCSS
$custom: #47791a;
$custom-light: #7fa05e;
$custom-dark: #000000;
JSON
{
  "hex": "#47791a",
  "rgb": {
    "r": 71,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 91.579,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52127,
    "c": 0.13466,
    "h": 133.8
  },
  "luminance": 0.15089
}

Semantic roles & 50–950 ramp

primary
#47791A
secondary
#7A41AD
accent
#40E898
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #47791A

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

Preview Lab → · Contrast checker → · Palette generator →

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