#040F06#040F06

#040F06 is a very dark, muted green. Relative luminance 0.004; OKLCH L 15.3% C 0.027 H 149.9°. Best body text is #FFFFFF at 19.51:1 contrast (WCAG AA passes).

Color values

HEX#040F06
RGBrgb(4, 15, 6)
HSLhsl(131, 58%, 4%)
HSVhsv(131, 73%, 6%)
CMYKcmyk(73.3%, 0%, 60%, 94.1%)
CIE-LABlab(3.44, -4.43, 2.60)
CIE-LCHlch(3.44, 5.13, 149.54°)
OKLaboklab(15.31% -0.0237 0.0137)
OKLCHoklch(15.31% 0.027 149.9)
XYZxyz(0.2537, 0.3806, 0.2324)
Luminance0.0038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040F06 #0F040D
analogous
#070F04 #040F06 #040F0B
triadic
#040F06 #06040F #0F0604
tetradic
#040F06 #04070F #0F040D #0F0B04
square
#040F06 #04070F #0F040D #0F0B04
split-complementary
#040F06 #0B040F #0F0407
monochromatic
#06180A #06180A #06180A #113F19 #1E702D

Accessibility & contrast

On white

19.51
#040F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#040F06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040F06
19.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040F06#FFFFFF#000000##FFFFFF
##040F061.0019.511.0819.51
#FFFFFF19.511.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0D06
Deuteranopia (green-blind)
#0D0C06
Tritanopia (blue-blind)
#030F0D
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #040f06;
/* rgb */ color: rgb(4, 15, 6);
/* oklch */ color: oklch(15.3% 0.027 149.9);
Tailwind
colors: {
  custom: {
    50: '#484e49',
    500: '#040f06',
    950: '#000000',
  },
}
SCSS
$custom: #040f06;
$custom-light: #484e49;
$custom-dark: #000000;
JSON
{
  "hex": "#040f06",
  "rgb": {
    "r": 4,
    "g": 15,
    "b": 6
  },
  "hsl": {
    "h": 130.909,
    "s": 57.895,
    "l": 3.725
  },
  "oklch": {
    "l": 0.15311,
    "c": 0.02736,
    "h": 149.9
  },
  "luminance": 0.00381
}

Semantic roles & 50–950 ramp

primary
#040F06
secondary
#4E2146
accent
#47C5E1
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000100
muted
#777777

Preview Lab

Preview with #040F06

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

Preview Lab → · Contrast checker → · Palette generator →

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