#040F09#040F09

#040F09 is a very dark, muted green. Relative luminance 0.004; OKLCH L 15.4% C 0.022 H 161.4°. Best body text is #FFFFFF at 19.49:1 contrast (WCAG AA passes).

Color values

HEX#040F09
RGBrgb(4, 15, 9)
HSLhsl(147, 58%, 4%)
HSVhsv(147, 73%, 6%)
CMYKcmyk(73.3%, 0%, 40%, 94.1%)
CIE-LABlab(3.50, -4.01, 1.47)
CIE-LCHlch(3.50, 4.27, 159.87°)
OKLaboklab(15.43% -0.0213 0.0072)
OKLCHoklch(15.43% 0.022 161.4)
XYZxyz(0.2702, 0.3872, 0.3189)
Luminance0.0039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040F09 #0F040A
analogous
#040F04 #040F09 #040F0E
triadic
#040F09 #09040F #0F0904
tetradic
#040F09 #04040F #0F040A #0F0E04
square
#040F09 #04040F #0F040A #0F0E04
split-complementary
#040F09 #0E040F #0F0404
monochromatic
#06180E #06180E #06180E #113F26 #1E7043

Accessibility & contrast

On white

19.49
#040F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040F09
19.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040F09#FFFFFF#000000##FFFFFF
##040F091.0019.491.0819.49
#FFFFFF19.491.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0D09
Deuteranopia (green-blind)
#0D0C09
Tritanopia (blue-blind)
#020F0D
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #040f09;
/* rgb */ color: rgb(4, 15, 9);
/* oklch */ color: oklch(15.4% 0.022 161.4);
Tailwind
colors: {
  custom: {
    50: '#484e4b',
    500: '#040f09',
    950: '#000000',
  },
}
SCSS
$custom: #040f09;
$custom-light: #484e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#040f09",
  "rgb": {
    "r": 4,
    "g": 15,
    "b": 9
  },
  "hsl": {
    "h": 147.273,
    "s": 57.895,
    "l": 3.725
  },
  "oklch": {
    "l": 0.15429,
    "c": 0.02243,
    "h": 161.4
  },
  "luminance": 0.00387
}

Semantic roles & 50–950 ramp

primary
#040F09
secondary
#4E2139
accent
#479BE1
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #040F09

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

Preview Lab → · Contrast checker → · Palette generator →

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