#041804#041804

#041804 is a very dark, muted green. Relative luminance 0.007; OKLCH L 18.5% C 0.049 H 143.3°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#041804
RGBrgb(4, 24, 4)
HSLhsl(120, 71%, 5%)
HSVhsv(120, 83%, 9%)
CMYKcmyk(83.3%, 0%, 83.3%, 90.6%)
CIE-LABlab(6.21, -10.45, 7.47)
CIE-LCHlch(6.21, 12.85, 144.44°)
OKLaboklab(18.54% -0.0393 0.0293)
OKLCHoklch(18.54% 0.049 143.3)
XYZxyz(0.3986, 0.6878, 0.2266)
Luminance0.0069 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041804 #180418
analogous
#0E1804 #041804 #04180E
triadic
#041804 #040418 #180404
tetradic
#041804 #040E18 #180418 #180E04
square
#041804 #040E18 #180418 #180E04
split-complementary
#041804 #0E0418 #18040E
monochromatic
#041A04 #041A04 #041A04 #0D4C0D #158115

Accessibility & contrast

On white

18.46
#041804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#041804 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041804
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041804#FFFFFF#000000##FFFFFF
##0418041.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191503
Deuteranopia (green-blind)
#161305
Tritanopia (blue-blind)
#021713
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #041804;
/* rgb */ color: rgb(4, 24, 4);
/* oklch */ color: oklch(18.5% 0.049 143.3);
Tailwind
colors: {
  custom: {
    50: '#485448',
    500: '#041804',
    950: '#000000',
  },
}
SCSS
$custom: #041804;
$custom-light: #485448;
$custom-dark: #000000;
JSON
{
  "hex": "#041804",
  "rgb": {
    "r": 4,
    "g": 24,
    "b": 4
  },
  "hsl": {
    "h": 120,
    "s": 71.429,
    "l": 5.49
  },
  "oklch": {
    "l": 0.18535,
    "c": 0.04899,
    "h": 143.3
  },
  "luminance": 0.00688
}

Semantic roles & 50–950 ramp

primary
#041804
secondary
#5A1E5A
accent
#3AEEEE
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000200
muted
#777877

Preview Lab

Preview with #041804

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

Preview Lab → · Contrast checker → · Palette generator →

#041804 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva