#47801A#47801A

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

Color values

HEX#47801A
RGBrgb(71, 128, 26)
HSLhsl(94, 66%, 30%)
HSVhsv(94, 80%, 50%)
CMYKcmyk(44.5%, 0%, 79.7%, 49.8%)
CIE-LABlab(48.07, -36.23, 45.83)
CIE-LCHlch(48.07, 58.42, 128.33°)
OKLaboklab(54.03% -0.1014 0.1019)
OKLCHoklch(54.03% 0.144 134.9)
XYZxyz(10.5039, 16.8519, 3.6764)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47801A #531A80
analogous
#7A801A #47801A #1A8020
triadic
#47801A #1A4780 #801A47
tetradic
#47801A #1A7A80 #531A80 #80201A
square
#47801A #1A7A80 #531A80 #80201A
split-complementary
#47801A #201A80 #801A7A
monochromatic
#0F1A05 #2B4D10 #47801A #63B324 #81D83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47801A#FFFFFF#000000##FFFFFF
##47801A1.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)
#857501
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#467B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #47801a;
/* rgb */ color: rgb(71, 128, 26);
/* oklch */ color: oklch(54.0% 0.144 134.9);
Tailwind
colors: {
  custom: {
    50: '#80a55f',
    500: '#47801a',
    950: '#000000',
  },
}
SCSS
$custom: #47801a;
$custom-light: #80a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#47801a",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 93.529,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54026,
    "c": 0.1438,
    "h": 134.9
  },
  "luminance": 0.16853
}

Semantic roles & 50–950 ramp

primary
#47801A
secondary
#8242B4
accent
#3FE99E
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #47801A

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

Preview Lab → · Contrast checker → · Palette generator →

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