#040B06#040B06

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

Color values

HEX#040B06
RGBrgb(4, 11, 6)
HSLhsl(137, 47%, 3%)
HSVhsv(137, 64%, 4%)
CMYKcmyk(63.6%, 0%, 45.5%, 95.7%)
CIE-LABlab(2.51, -2.54, 1.25)
CIE-LCHlch(2.51, 2.83, 153.68°)
OKLaboklab(13.85% -0.0165 0.0077)
OKLCHoklch(13.85% 0.018 154.8)
XYZxyz(0.2026, 0.2783, 0.2153)
Luminance0.0028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040B06 #0B0409
analogous
#050B04 #040B06 #040B09
triadic
#040B06 #06040B #0B0604
tetradic
#040B06 #04050B #0B0409 #0B0904
square
#040B06 #04050B #0B0409 #0B0904
split-complementary
#040B06 #09040B #0B0405
monochromatic
#08160C #08160C #08160C #14381E #256537

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##040B06#FFFFFF#000000##FFFFFF
##040B061.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)
#0B0A06
Deuteranopia (green-blind)
#0A0906
Tritanopia (blue-blind)
#030B09
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #040b06;
/* rgb */ color: rgb(4, 11, 6);
/* oklch */ color: oklch(13.9% 0.018 154.8);
Tailwind
colors: {
  custom: {
    50: '#484c49',
    500: '#040b06',
    950: '#000000',
  },
}
SCSS
$custom: #040b06;
$custom-light: #484c49;
$custom-dark: #000000;
JSON
{
  "hex": "#040b06",
  "rgb": {
    "r": 4,
    "g": 11,
    "b": 6
  },
  "hsl": {
    "h": 137.143,
    "s": 46.667,
    "l": 2.941
  },
  "oklch": {
    "l": 0.13853,
    "c": 0.01819,
    "h": 154.8
  },
  "luminance": 0.00278
}

Semantic roles & 50–950 ramp

primary
#040B06
secondary
#47243D
accent
#51B0D6
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000100
muted
#777777

Preview Lab

Preview with #040B06

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

Preview Lab → · Contrast checker → · Palette generator →

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