#041808#041808

#041808 is a very dark, muted green. Relative luminance 0.007; OKLCH L 18.6% C 0.042 H 148.9°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#041808
RGBrgb(4, 24, 8)
HSLhsl(132, 71%, 5%)
HSVhsv(132, 83%, 9%)
CMYKcmyk(83.3%, 0%, 66.7%, 90.6%)
CIE-LABlab(6.29, -9.90, 5.96)
CIE-LCHlch(6.29, 11.55, 148.96°)
OKLaboklab(18.64% -0.0362 0.0218)
OKLCHoklch(18.64% 0.042 148.9)
XYZxyz(0.4205, 0.6966, 0.3420)
Luminance0.0070 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041808 #180414
analogous
#0A1804 #041808 #041812
triadic
#041808 #080418 #180804
tetradic
#041808 #040A18 #180414 #181204
square
#041808 #040A18 #180414 #181204
split-complementary
#041808 #120418 #18040A
monochromatic
#041A09 #041A09 #041A09 #0D4C19 #15812B

Accessibility & contrast

On white

18.43
#041808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041808
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041808#FFFFFF#000000##FFFFFF
##0418081.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181507
Deuteranopia (green-blind)
#151309
Tritanopia (blue-blind)
#011714
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #041808;
/* rgb */ color: rgb(4, 24, 8);
/* oklch */ color: oklch(18.6% 0.042 148.9);
Tailwind
colors: {
  custom: {
    50: '#48544a',
    500: '#041808',
    950: '#000000',
  },
}
SCSS
$custom: #041808;
$custom-light: #48544a;
$custom-dark: #000000;
JSON
{
  "hex": "#041808",
  "rgb": {
    "r": 4,
    "g": 24,
    "b": 8
  },
  "hsl": {
    "h": 132,
    "s": 71.429,
    "l": 5.49
  },
  "oklch": {
    "l": 0.18642,
    "c": 0.0423,
    "h": 148.9
  },
  "luminance": 0.00697
}

Semantic roles & 50–950 ramp

primary
#041808
secondary
#5A1E4E
accent
#3ACAEE
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000201
muted
#777877

Preview Lab

Preview with #041808

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

Preview Lab → · Contrast checker → · Palette generator →

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