#04220A#04220A

#04220A is a very dark, muted green. Relative luminance 0.012; OKLCH L 22.2% C 0.058 H 147.5°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#04220A
RGBrgb(4, 34, 10)
HSLhsl(132, 79%, 7%)
HSVhsv(132, 88%, 13%)
CMYKcmyk(88.2%, 0%, 70.6%, 86.7%)
CIE-LABlab(10.50, -17.52, 11.21)
CIE-LCHlch(10.50, 20.80, 147.38°)
OKLaboklab(22.24% -0.0485 0.0309)
OKLCHoklch(22.24% 0.058 147.5)
XYZxyz(0.6768, 1.1917, 0.4815)
Luminance0.0119 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04220A #22041C
analogous
#0D2204 #04220A #042219
triadic
#04220A #0A0422 #220A04
tetradic
#04220A #040D22 #22041C #221904
square
#04220A #040D22 #22041C #221904
split-complementary
#04220A #190422 #22040D
monochromatic
#031B08 #031B08 #04220A #0A591A #11902A

Accessibility & contrast

On white

16.96
#04220A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#04220A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04220A
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04220A#FFFFFF#000000##FFFFFF
##04220A1.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E08
Deuteranopia (green-blind)
#1F1B0C
Tritanopia (blue-blind)
#00211D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #04220a;
/* rgb */ color: rgb(4, 34, 10);
/* oklch */ color: oklch(22.2% 0.058 147.5);
Tailwind
colors: {
  custom: {
    50: '#485d4b',
    500: '#04220a',
    950: '#000000',
  },
}
SCSS
$custom: #04220a;
$custom-light: #485d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#04220a",
  "rgb": {
    "r": 4,
    "g": 34,
    "b": 10
  },
  "hsl": {
    "h": 132,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.22238,
    "c": 0.0575,
    "h": 147.5
  },
  "luminance": 0.01192
}

Semantic roles & 50–950 ramp

primary
#04220A
secondary
#651D56
accent
#32CEF5
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #04220A

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

Preview Lab → · Contrast checker → · Palette generator →

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