#040D07#040D07

#040D07 is a very dark, muted green. Relative luminance 0.003; OKLCH L 14.6% C 0.021 H 156.5°. Best body text is #FFFFFF at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#040D07
RGBrgb(4, 13, 7)
HSLhsl(140, 53%, 3%)
HSVhsv(140, 69%, 5%)
CMYKcmyk(69.2%, 0%, 46.2%, 94.9%)
CIE-LABlab(2.97, -3.29, 1.52)
CIE-LCHlch(2.97, 3.63, 155.28°)
OKLaboklab(14.63% -0.0193 0.0084)
OKLCHoklch(14.63% 0.021 156.5)
XYZxyz(0.2323, 0.3290, 0.2522)
Luminance0.0033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040D07 #0D040A
analogous
#050D04 #040D07 #040D0B
triadic
#040D07 #07040D #0D0704
tetradic
#040D07 #04050D #0D040A #0D0B04
square
#040D07 #04050D #0D040A #0D0B04
split-complementary
#040D07 #0B040D #0D0405
monochromatic
#07170D #07170D #07170D #123C20 #216B39

Accessibility & contrast

On white

19.70
#040D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040D07
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040D07#FFFFFF#000000##FFFFFF
##040D071.0019.701.0719.70
#FFFFFF19.701.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #040d07;
/* rgb */ color: rgb(4, 13, 7);
/* oklch */ color: oklch(14.6% 0.021 156.5);
Tailwind
colors: {
  custom: {
    50: '#484d4a',
    500: '#040d07',
    950: '#000000',
  },
}
SCSS
$custom: #040d07;
$custom-light: #484d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#040d07",
  "rgb": {
    "r": 4,
    "g": 13,
    "b": 7
  },
  "hsl": {
    "h": 140,
    "s": 52.941,
    "l": 3.333
  },
  "oklch": {
    "l": 0.14625,
    "c": 0.02102,
    "h": 156.5
  },
  "luminance": 0.00329
}

Semantic roles & 50–950 ramp

primary
#040D07
secondary
#4B223D
accent
#4BACDC
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #040D07

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

Preview Lab → · Contrast checker → · Palette generator →

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