#04220E#04220E

#04220E is a very dark, muted green. Relative luminance 0.012; OKLCH L 22.3% C 0.053 H 151.3°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#04220E
RGBrgb(4, 34, 14)
HSLhsl(140, 79%, 7%)
HSVhsv(140, 88%, 13%)
CMYKcmyk(88.2%, 0%, 58.8%, 86.7%)
CIE-LABlab(10.57, -16.83, 9.49)
CIE-LCHlch(10.57, 19.32, 150.57°)
OKLaboklab(22.32% -0.0463 0.0253)
OKLCHoklch(22.32% 0.053 151.3)
XYZxyz(0.7013, 1.2015, 0.6103)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04220E #220418
analogous
#092204 #04220E #04221D
triadic
#04220E #0E0422 #220E04
tetradic
#04220E #040922 #220418 #221D04
square
#04220E #040922 #220418 #221D04
split-complementary
#04220E #1D0422 #220409
monochromatic
#031B0B #031B0B #04220E #0A5925 #11903B

Accessibility & contrast

On white

16.93
#04220E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04220E
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04220E#FFFFFF#000000##FFFFFF
##04220E1.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221E0C
Deuteranopia (green-blind)
#1E1C0F
Tritanopia (blue-blind)
#00211D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #04220e;
/* rgb */ color: rgb(4, 34, 14);
/* oklch */ color: oklch(22.3% 0.053 151.3);
Tailwind
colors: {
  custom: {
    50: '#485d4d',
    500: '#04220e',
    950: '#000000',
  },
}
SCSS
$custom: #04220e;
$custom-light: #485d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#04220e",
  "rgb": {
    "r": 4,
    "g": 34,
    "b": 14
  },
  "hsl": {
    "h": 140,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.22322,
    "c": 0.05272,
    "h": 151.3
  },
  "luminance": 0.01202
}

Semantic roles & 50–950 ramp

primary
#04220E
secondary
#651D4D
accent
#32B4F5
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #04220E

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

Preview Lab → · Contrast checker → · Palette generator →

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