#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 |
|---|---|
| RGB | rgb(4, 15, 9) |
| HSL | hsl(147, 58%, 4%) |
| HSV | hsv(147, 73%, 6%) |
| CMYK | cmyk(73.3%, 0%, 40%, 94.1%) |
| CIE-LAB | lab(3.50, -4.01, 1.47) |
| CIE-LCH | lch(3.50, 4.27, 159.87°) |
| OKLab | oklab(15.43% -0.0213 0.0072) |
| OKLCH | oklch(15.43% 0.022 161.4) |
| XYZ | xyz(0.2702, 0.3872, 0.3189) |
| Luminance | 0.0039 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Almost Black
#070D0D
ΔE00 3.52
Black
#000000
ΔE00 5.80
Gunmetal
#2A3439
ΔE00 12.58
Dark
#1B2431
ΔE00 12.68
Charcoal (survey)
#343837
ΔE00 13.01
Dark Grey
#363737
ΔE00 13.49
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 |
|---|---|---|---|---|
| ##040F09 | 1.00 | 19.49 | 1.08 | 19.49 |
| #FFFFFF | 19.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.49 | 1.00 | 21.00 | 1.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