#04470B#04470B

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

Color values

HEX#04470B
RGBrgb(4, 71, 11)
HSLhsl(126, 89%, 15%)
HSVhsv(126, 94%, 28%)
CMYKcmyk(94.4%, 0%, 84.5%, 72.2%)
CIE-LABlab(25.43, -32.64, 28.57)
CIE-LCHlch(25.43, 43.38, 138.80°)
OKLaboklab(34.65% -0.0882 0.0644)
OKLCHoklch(34.65% 0.109 143.9)
XYZxyz(2.3635, 4.5561, 1.0714)
Luminance0.0456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04470B #470440
analogous
#1E4704 #04470B #04472D
triadic
#04470B #0B0447 #470B04
tetradic
#04470B #041E47 #470440 #472D04
square
#04470B #041E47 #470440 #472D04
split-complementary
#04470B #2D0447 #47041E
monochromatic
#021D04 #021D04 #04470B #078114 #0BBB1D

Accessibility & contrast

On white

10.99
#04470B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04470B
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04470B#FFFFFF#000000##FFFFFF
##04470B1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F02
Deuteranopia (green-blind)
#423A12
Tritanopia (blue-blind)
#00453C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #04470b;
/* rgb */ color: rgb(4, 71, 11);
/* oklch */ color: oklch(34.7% 0.109 143.9);
Tailwind
colors: {
  custom: {
    50: '#557b4f',
    500: '#04470b',
    950: '#000000',
  },
}
SCSS
$custom: #04470b;
$custom-light: #557b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#04470b",
  "rgb": {
    "r": 4,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 126.269,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34651,
    "c": 0.10919,
    "h": 143.9
  },
  "luminance": 0.04556
}

Semantic roles & 50–950 ramp

primary
#04470B
secondary
#881F7D
accent
#29E9FF
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#030902
muted
#787B78

Preview Lab

Preview with #04470B

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

Preview Lab → · Contrast checker → · Palette generator →

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