#47781A#47781A

#47781A is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.9% C 0.133 H 133.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#47781A
RGBrgb(71, 120, 26)
HSLhsl(91, 64%, 29%)
HSVhsv(91, 78%, 47%)
CMYKcmyk(40.8%, 0%, 78.3%, 52.9%)
CIE-LABlab(45.42, -32.70, 43.28)
CIE-LCHlch(45.42, 54.25, 127.08°)
OKLaboklab(51.86% -0.0919 0.0966)
OKLCHoklch(51.86% 0.133 133.6)
XYZxyz(9.5013, 14.8467, 3.3421)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47781A #4B1A78
analogous
#76781A #47781A #1A781C
triadic
#47781A #1A4778 #781A47
tetradic
#47781A #1A7678 #4B1A78 #781C1A
square
#47781A #1A7678 #4B1A78 #781C1A
split-complementary
#47781A #1C1A78 #781A76
monochromatic
#0F1905 #29460F #47781A #65AA25 #83D438

Accessibility & contrast

On white

5.29
#47781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#47781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #47781A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47781A#FFFFFF#000000##FFFFFF
##47781A1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E05
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#477366
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #47781a;
/* rgb */ color: rgb(71, 120, 26);
/* oklch */ color: oklch(51.9% 0.133 133.6);
Tailwind
colors: {
  custom: {
    50: '#7f9f5e',
    500: '#47781a',
    950: '#000000',
  },
}
SCSS
$custom: #47781a;
$custom-light: #7f9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#47781a",
  "rgb": {
    "r": 71,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 91.277,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51856,
    "c": 0.13334,
    "h": 133.6
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

primary
#47781A
secondary
#7941AC
accent
#40E797
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #47781A

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

Preview Lab → · Contrast checker → · Palette generator →

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