#04470D#04470D

#04470D is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.7% C 0.108 H 144.3°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#04470D
RGBrgb(4, 71, 13)
HSLhsl(128, 89%, 15%)
HSVhsv(128, 94%, 28%)
CMYKcmyk(94.4%, 0%, 81.7%, 72.2%)
CIE-LABlab(25.45, -32.45, 27.76)
CIE-LCHlch(25.45, 42.70, 139.46°)
OKLaboklab(34.67% -0.0876 0.063)
OKLCHoklch(34.67% 0.108 144.3)
XYZxyz(2.3758, 4.5610, 1.1358)
Luminance0.0456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04470D #47043E
analogous
#1C4704 #04470D #04472F
triadic
#04470D #0D0447 #470D04
tetradic
#04470D #041C47 #47043E #472F04
square
#04470D #041C47 #47043E #472F04
split-complementary
#04470D #2F0447 #47041C
monochromatic
#021D05 #021D05 #04470D #078118 #0BBB22

Accessibility & contrast

On white

10.98
#04470D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#04470D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04470D
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04470D#FFFFFF#000000##FFFFFF
##04470D1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F04
Deuteranopia (green-blind)
#423A13
Tritanopia (blue-blind)
#00453C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #04470d;
/* rgb */ color: rgb(4, 71, 13);
/* oklch */ color: oklch(34.7% 0.108 144.3);
Tailwind
colors: {
  custom: {
    50: '#547b50',
    500: '#04470d',
    950: '#000000',
  },
}
SCSS
$custom: #04470d;
$custom-light: #547b50;
$custom-dark: #000000;
JSON
{
  "hex": "#04470d",
  "rgb": {
    "r": 4,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 128.06,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34668,
    "c": 0.10788,
    "h": 144.3
  },
  "luminance": 0.04561
}

Semantic roles & 50–950 ramp

primary
#04470D
secondary
#881F7A
accent
#29E2FF
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#030902
muted
#787B78

Preview Lab

Preview with #04470D

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

Preview Lab → · Contrast checker → · Palette generator →

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