#47801B#47801B

#47801B is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.0% C 0.143 H 135.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#47801B
RGBrgb(71, 128, 27)
HSLhsl(94, 65%, 30%)
HSVhsv(94, 79%, 50%)
CMYKcmyk(44.5%, 0%, 78.9%, 49.8%)
CIE-LABlab(48.08, -36.17, 45.49)
CIE-LCHlch(48.08, 58.12, 128.49°)
OKLaboklab(54.03% -0.1012 0.1014)
OKLCHoklch(54.03% 0.143 135)
XYZxyz(10.5153, 16.8565, 3.7362)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47801B #541B80
analogous
#79801B #47801B #1B8021
triadic
#47801B #1B4780 #801B47
tetradic
#47801B #1B7980 #541B80 #80211B
square
#47801B #1B7980 #541B80 #80211B
split-complementary
#47801B #211B80 #801B79
monochromatic
#0F1B06 #2B4D10 #47801B #63B326 #81D63F

Accessibility & contrast

On white

4.80
#47801B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#47801B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #47801B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47801B#FFFFFF#000000##FFFFFF
##47801B1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857503
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#467B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #47801b;
/* rgb */ color: rgb(71, 128, 27);
/* oklch */ color: oklch(54.0% 0.143 135.0);
Tailwind
colors: {
  custom: {
    50: '#80a560',
    500: '#47801b',
    950: '#000000',
  },
}
SCSS
$custom: #47801b;
$custom-light: #80a560;
$custom-dark: #000000;
JSON
{
  "hex": "#47801b",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 93.861,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54033,
    "c": 0.14324,
    "h": 135
  },
  "luminance": 0.16857
}

Semantic roles & 50–950 ramp

primary
#47801B
secondary
#8343B4
accent
#40E89F
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #47801B

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

Preview Lab → · Contrast checker → · Palette generator →

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