#040B05#040B05

#040B05 is a very dark, muted green. Relative luminance 0.003; OKLCH L 13.8% C 0.020 H 149.1°. Best body text is #FFFFFF at 19.90:1 contrast (WCAG AA passes).

Color values

HEX#040B05
RGBrgb(4, 11, 5)
HSLhsl(129, 47%, 3%)
HSVhsv(129, 64%, 4%)
CMYKcmyk(63.6%, 0%, 54.5%, 95.7%)
CIE-LABlab(2.49, -2.68, 1.63)
CIE-LCHlch(2.49, 3.13, 148.62°)
OKLaboklab(13.8% -0.0174 0.0104)
OKLCHoklch(13.8% 0.02 149.1)
XYZxyz(0.1971, 0.2761, 0.1865)
Luminance0.0028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040B05 #0B040A
analogous
#060B04 #040B05 #040B08
triadic
#040B05 #05040B #0B0504
tetradic
#040B05 #04060B #0B040A #0B0804
square
#040B05 #04060B #0B040A #0B0804
split-complementary
#040B05 #08040B #0B0406
monochromatic
#08160A #08160A #08160A #143819 #25652E

Accessibility & contrast

On white

19.90
#040B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040B05
19.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040B05#FFFFFF#000000##FFFFFF
##040B051.0019.901.0619.90
#FFFFFF19.901.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0A05
Deuteranopia (green-blind)
#0A0905
Tritanopia (blue-blind)
#030B09
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #040b05;
/* rgb */ color: rgb(4, 11, 5);
/* oklch */ color: oklch(13.8% 0.020 149.1);
Tailwind
colors: {
  custom: {
    50: '#484c49',
    500: '#040b05',
    950: '#000000',
  },
}
SCSS
$custom: #040b05;
$custom-light: #484c49;
$custom-dark: #000000;
JSON
{
  "hex": "#040b05",
  "rgb": {
    "r": 4,
    "g": 11,
    "b": 5
  },
  "hsl": {
    "h": 128.571,
    "s": 46.667,
    "l": 2.941
  },
  "oklch": {
    "l": 0.13804,
    "c": 0.02032,
    "h": 149.1
  },
  "luminance": 0.00276
}

Semantic roles & 50–950 ramp

primary
#040B05
secondary
#472442
accent
#51C3D6
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000100
muted
#777777

Preview Lab

Preview with #040B05

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

Preview Lab → · Contrast checker → · Palette generator →

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