#47791B#47791B

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

Color values

HEX#47791B
RGBrgb(71, 121, 27)
HSLhsl(92, 64%, 29%)
HSVhsv(92, 78%, 47%)
CMYKcmyk(41.3%, 0%, 77.7%, 52.5%)
CIE-LABlab(45.76, -33.09, 43.24)
CIE-LCHlch(45.76, 54.45, 127.42°)
OKLaboklab(52.13% -0.0929 0.0967)
OKLCHoklch(52.13% 0.134 133.9)
XYZxyz(9.6336, 15.0930, 3.4423)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47791B #4D1B79
analogous
#76791B #47791B #1B791E
triadic
#47791B #1B4779 #791B47
tetradic
#47791B #1B7679 #4D1B79 #791E1B
square
#47791B #1B7679 #4D1B79 #791E1B
split-complementary
#47791B #1E1B79 #791B76
monochromatic
#0F1906 #2A4710 #47791B #64AB26 #82D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47791B#FFFFFF#000000##FFFFFF
##47791B1.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)
#7E6F07
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#477467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #47791b;
/* rgb */ color: rgb(71, 121, 27);
/* oklch */ color: oklch(52.1% 0.134 133.9);
Tailwind
colors: {
  custom: {
    50: '#7fa05f',
    500: '#47791b',
    950: '#000000',
  },
}
SCSS
$custom: #47791b;
$custom-light: #7fa05f;
$custom-dark: #000000;
JSON
{
  "hex": "#47791b",
  "rgb": {
    "r": 71,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 91.915,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52134,
    "c": 0.13406,
    "h": 133.9
  },
  "luminance": 0.15093
}

Semantic roles & 50–950 ramp

primary
#47791B
secondary
#7B43AD
accent
#41E799
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #47791B

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

Preview Lab → · Contrast checker → · Palette generator →

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