#041204#041204

#041204 is a very dark, muted green. Relative luminance 0.005; OKLCH L 16.3% C 0.038 H 143.6°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#041204
RGBrgb(4, 18, 4)
HSLhsl(120, 64%, 4%)
HSVhsv(120, 78%, 7%)
CMYKcmyk(77.8%, 0%, 77.8%, 92.9%)
CIE-LABlab(4.22, -6.38, 4.56)
CIE-LCHlch(4.22, 7.84, 144.44°)
OKLaboklab(16.34% -0.0305 0.0225)
OKLCHoklch(16.34% 0.038 143.6)
XYZxyz(0.2883, 0.4672, 0.1898)
Luminance0.0047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041204 #120412
analogous
#0B1204 #041204 #04120B
triadic
#041204 #040412 #120404
tetradic
#041204 #040B12 #120412 #120B04
square
#041204 #040B12 #120412 #120B04
split-complementary
#041204 #0B0412 #12040B
monochromatic
#061906 #061906 #061906 #0F440F #1A761A

Accessibility & contrast

On white

19.21
#041204 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#041204 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041204
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041204#FFFFFF#000000##FFFFFF
##0412041.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131003
Deuteranopia (green-blind)
#100E05
Tritanopia (blue-blind)
#03110E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #041204;
/* rgb */ color: rgb(4, 18, 4);
/* oklch */ color: oklch(16.3% 0.038 143.6);
Tailwind
colors: {
  custom: {
    50: '#484f48',
    500: '#041204',
    950: '#000000',
  },
}
SCSS
$custom: #041204;
$custom-light: #484f48;
$custom-dark: #000000;
JSON
{
  "hex": "#041204",
  "rgb": {
    "r": 4,
    "g": 18,
    "b": 4
  },
  "hsl": {
    "h": 120,
    "s": 63.636,
    "l": 4.314
  },
  "oklch": {
    "l": 0.16338,
    "c": 0.03787,
    "h": 143.6
  },
  "luminance": 0.00467
}

Semantic roles & 50–950 ramp

primary
#041204
secondary
#522052
accent
#41E7E7
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000200
muted
#777877

Preview Lab

Preview with #041204

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

Preview Lab → · Contrast checker → · Palette generator →

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