#47801D#47801D

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

Color values

HEX#47801D
RGBrgb(71, 128, 29)
HSLhsl(95, 63%, 31%)
HSVhsv(95, 77%, 50%)
CMYKcmyk(44.5%, 0%, 77.3%, 49.8%)
CIE-LABlab(48.09, -36.04, 44.79)
CIE-LCHlch(48.09, 57.49, 128.83°)
OKLaboklab(54.05% -0.1007 0.1002)
OKLCHoklch(54.05% 0.142 135.1)
XYZxyz(10.5392, 16.8660, 3.8623)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47801D #561D80
analogous
#78801D #47801D #1D8024
triadic
#47801D #1D4780 #801D47
tetradic
#47801D #1D7880 #561D80 #80241D
square
#47801D #1D7880 #561D80 #80241D
split-complementary
#47801D #241D80 #801D78
monochromatic
#101C06 #2B4E12 #47801D #63B228 #81D443

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47801D#FFFFFF#000000##FFFFFF
##47801D1.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)
#857508
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#457B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #47801d;
/* rgb */ color: rgb(71, 128, 29);
/* oklch */ color: oklch(54.0% 0.142 135.1);
Tailwind
colors: {
  custom: {
    50: '#80a561',
    500: '#47801d',
    950: '#000000',
  },
}
SCSS
$custom: #47801d;
$custom-light: #80a561;
$custom-dark: #000000;
JSON
{
  "hex": "#47801d",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 94.545,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54046,
    "c": 0.14207,
    "h": 135.1
  },
  "luminance": 0.16867
}

Semantic roles & 50–950 ramp

primary
#47801D
secondary
#8545B3
accent
#42E6A0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #47801D

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

Preview Lab → · Contrast checker → · Palette generator →

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