#040D05#040D05

#040D05 is a very dark, muted green. Relative luminance 0.003; OKLCH L 14.5% C 0.025 H 147.7°. Best body text is #FFFFFF at 19.72:1 contrast (WCAG AA passes).

Color values

HEX#040D05
RGBrgb(4, 13, 5)
HSLhsl(127, 53%, 3%)
HSVhsv(127, 69%, 5%)
CMYKcmyk(69.2%, 0%, 61.5%, 94.9%)
CIE-LABlab(2.93, -3.57, 2.27)
CIE-LCHlch(2.93, 4.23, 147.50°)
OKLaboklab(14.54% -0.0211 0.0134)
OKLCHoklch(14.54% 0.025 147.7)
XYZxyz(0.2214, 0.3246, 0.1945)
Luminance0.0032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040D05 #0D040C
analogous
#070D04 #040D05 #040D09
triadic
#040D05 #05040D #0D0504
tetradic
#040D05 #04070D #0D040C #0D0904
square
#040D05 #04070D #0D040C #0D0904
split-complementary
#040D05 #09040D #0D0407
monochromatic
#071709 #071709 #071709 #123C17 #216B29

Accessibility & contrast

On white

19.72
#040D05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#040D05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040D05
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040D05#FFFFFF#000000##FFFFFF
##040D051.0019.721.0719.72
#FFFFFF19.721.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0B05
Deuteranopia (green-blind)
#0C0A05
Tritanopia (blue-blind)
#030D0B
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #040d05;
/* rgb */ color: rgb(4, 13, 5);
/* oklch */ color: oklch(14.5% 0.025 147.7);
Tailwind
colors: {
  custom: {
    50: '#484d49',
    500: '#040d05',
    950: '#000000',
  },
}
SCSS
$custom: #040d05;
$custom-light: #484d49;
$custom-dark: #000000;
JSON
{
  "hex": "#040d05",
  "rgb": {
    "r": 4,
    "g": 13,
    "b": 5
  },
  "hsl": {
    "h": 126.667,
    "s": 52.941,
    "l": 3.333
  },
  "oklch": {
    "l": 0.14537,
    "c": 0.02498,
    "h": 147.7
  },
  "luminance": 0.00325
}

Semantic roles & 50–950 ramp

primary
#040D05
secondary
#4B2246
accent
#4BCCDC
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000100
muted
#777777

Preview Lab

Preview with #040D05

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

Preview Lab → · Contrast checker → · Palette generator →

#040D05 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva