#47801F#47801F

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

Color values

HEX#47801F
RGBrgb(71, 128, 31)
HSLhsl(95, 61%, 31%)
HSVhsv(95, 76%, 50%)
CMYKcmyk(44.5%, 0%, 75.8%, 49.8%)
CIE-LABlab(48.10, -35.90, 44.06)
CIE-LCHlch(48.10, 56.83, 129.18°)
OKLaboklab(54.06% -0.1002 0.099)
OKLCHoklch(54.06% 0.141 135.3)
XYZxyz(10.5648, 16.8763, 3.9968)
Luminance0.1688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47801F #581F80
analogous
#77801F #47801F #1F8028
triadic
#47801F #1F4780 #801F47
tetradic
#47801F #1F7780 #581F80 #80281F
square
#47801F #1F7780 #581F80 #80281F
split-complementary
#47801F #281F80 #801F77
monochromatic
#101D07 #2C4F13 #47801F #62B12B #80D247

Accessibility & contrast

On white

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

On black

4.38
#47801F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##47801F#FFFFFF#000000##FFFFFF
##47801F1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#457B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #47801f;
/* rgb */ color: rgb(71, 128, 31);
/* oklch */ color: oklch(54.1% 0.141 135.3);
Tailwind
colors: {
  custom: {
    50: '#80a562',
    500: '#47801f',
    950: '#000000',
  },
}
SCSS
$custom: #47801f;
$custom-light: #80a562;
$custom-dark: #000000;
JSON
{
  "hex": "#47801f",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 95.258,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54061,
    "c": 0.14084,
    "h": 135.3
  },
  "luminance": 0.16877
}

Semantic roles & 50–950 ramp

primary
#47801F
secondary
#8748B3
accent
#44E4A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #47801F

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

Preview Lab → · Contrast checker → · Palette generator →

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