#040B07#040B07

#040B07 is a very dark, near-neutral green. Relative luminance 0.003; OKLCH L 13.9% C 0.016 H 161.5°. Best body text is #FFFFFF at 19.89:1 contrast (WCAG AA passes).

Color values

HEX#040B07
RGBrgb(4, 11, 7)
HSLhsl(146, 47%, 3%)
HSVhsv(146, 64%, 4%)
CMYKcmyk(63.6%, 0%, 36.4%, 95.7%)
CIE-LABlab(2.53, -2.40, 0.88)
CIE-LCHlch(2.53, 2.55, 159.90°)
OKLaboklab(13.9% -0.0156 0.0052)
OKLCHoklch(13.9% 0.016 161.5)
XYZxyz(0.2081, 0.2805, 0.2441)
Luminance0.0028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040B07 #0B0408
analogous
#040B04 #040B07 #040B0A
triadic
#040B07 #07040B #0B0704
tetradic
#040B07 #04040B #0B0408 #0B0A04
square
#040B07 #04040B #0B0408 #0B0A04
split-complementary
#040B07 #0A040B #0B0404
monochromatic
#08160E #08160E #08160E #143824 #256540

Accessibility & contrast

On white

19.89
#040B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#040B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040B07
19.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040B07#FFFFFF#000000##FFFFFF
##040B071.0019.891.0619.89
#FFFFFF19.891.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0A07
Deuteranopia (green-blind)
#090907
Tritanopia (blue-blind)
#030B0A
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #040b07;
/* rgb */ color: rgb(4, 11, 7);
/* oklch */ color: oklch(13.9% 0.016 161.5);
Tailwind
colors: {
  custom: {
    50: '#484c4a',
    500: '#040b07',
    950: '#000000',
  },
}
SCSS
$custom: #040b07;
$custom-light: #484c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#040b07",
  "rgb": {
    "r": 4,
    "g": 11,
    "b": 7
  },
  "hsl": {
    "h": 145.714,
    "s": 46.667,
    "l": 2.941
  },
  "oklch": {
    "l": 0.13902,
    "c": 0.01642,
    "h": 161.5
  },
  "luminance": 0.0028
}

Semantic roles & 50–950 ramp

primary
#040B07
secondary
#472438
accent
#519DD6
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #040B07

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

Preview Lab → · Contrast checker → · Palette generator →

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