#04470A#04470A

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

Color values

HEX#04470A
RGBrgb(4, 71, 10)
HSLhsl(125, 89%, 15%)
HSVhsv(125, 94%, 28%)
CMYKcmyk(94.4%, 0%, 85.9%, 72.2%)
CIE-LABlab(25.42, -32.73, 28.96)
CIE-LCHlch(25.42, 43.70, 138.49°)
OKLaboklab(34.64% -0.0885 0.065)
OKLCHoklch(34.64% 0.11 143.7)
XYZxyz(2.3579, 4.5539, 1.0418)
Luminance0.0455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04470A #470441
analogous
#204704 #04470A #04472C
triadic
#04470A #0A0447 #470A04
tetradic
#04470A #042047 #470441 #472C04
square
#04470A #042047 #470441 #472C04
split-complementary
#04470A #2C0447 #470420
monochromatic
#021D04 #021D04 #04470A #078112 #0BBB1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##04470A#FFFFFF#000000##FFFFFF
##04470A1.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)
#493F01
Deuteranopia (green-blind)
#423A11
Tritanopia (blue-blind)
#00453C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #04470a;
/* rgb */ color: rgb(4, 71, 10);
/* oklch */ color: oklch(34.6% 0.110 143.7);
Tailwind
colors: {
  custom: {
    50: '#557b4e',
    500: '#04470a',
    950: '#000000',
  },
}
SCSS
$custom: #04470a;
$custom-light: #557b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#04470a",
  "rgb": {
    "r": 4,
    "g": 71,
    "b": 10
  },
  "hsl": {
    "h": 125.373,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34643,
    "c": 0.1098,
    "h": 143.7
  },
  "luminance": 0.04554
}

Semantic roles & 50–950 ramp

primary
#04470A
secondary
#881F7E
accent
#29ECFF
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#030902
muted
#787B78

Preview Lab

Preview with #04470A

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

Preview Lab → · Contrast checker → · Palette generator →

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