#040A06#040A06

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

Color values

HEX#040A06
RGBrgb(4, 10, 6)
HSLhsl(140, 43%, 3%)
HSVhsv(140, 60%, 4%)
CMYKcmyk(60%, 0%, 40%, 96.1%)
CIE-LABlab(2.31, -2.12, 0.96)
CIE-LCHlch(2.31, 2.33, 155.66°)
OKLaboklab(13.49% -0.0145 0.0062)
OKLCHoklch(13.49% 0.016 157)
XYZxyz(0.1915, 0.2560, 0.2116)
Luminance0.0026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040A06 #0A0408
analogous
#050A04 #040A06 #040A09
triadic
#040A06 #06040A #0A0604
tetradic
#040A06 #04050A #0A0408 #0A0904
square
#040A06 #04050A #0A0408 #0A0904
split-complementary
#040A06 #09040A #0A0405
monochromatic
#09160D #09160D #09160D #153620 #27613A

Accessibility & contrast

On white

19.98
#040A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#040A06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040A06
19.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040A06#FFFFFF#000000##FFFFFF
##040A061.0019.981.0519.98
#FFFFFF19.981.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0906
Deuteranopia (green-blind)
#090806
Tritanopia (blue-blind)
#030A09
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #040a06;
/* rgb */ color: rgb(4, 10, 6);
/* oklch */ color: oklch(13.5% 0.016 157.0);
Tailwind
colors: {
  custom: {
    50: '#484b49',
    500: '#040a06',
    950: '#000000',
  },
}
SCSS
$custom: #040a06;
$custom-light: #484b49;
$custom-dark: #000000;
JSON
{
  "hex": "#040a06",
  "rgb": {
    "r": 4,
    "g": 10,
    "b": 6
  },
  "hsl": {
    "h": 140,
    "s": 42.857,
    "l": 2.745
  },
  "oklch": {
    "l": 0.13492,
    "c": 0.01579,
    "h": 157
  },
  "luminance": 0.00256
}

Semantic roles & 50–950 ramp

primary
#040A06
secondary
#45253A
accent
#55A9D3
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000100
muted
#777777

Preview Lab

Preview with #040A06

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

Preview Lab → · Contrast checker → · Palette generator →

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