#040800#040800
#040800 is a very dark, muted yellow-green. Relative luminance 0.002; OKLCH L 12.4% C 0.032 H 126.6°. Best body text is #FFFFFF at 20.20:1 contrast (WCAG AA passes).
Color values
| HEX | #040800 |
|---|---|
| RGB | rgb(4, 8, 0) |
| HSL | hsl(90, 100%, 2%) |
| HSV | hsv(90, 100%, 3%) |
| CMYK | cmyk(50%, 0%, 100%, 96.9%) |
| CIE-LAB | lab(1.80, -2.16, 2.66) |
| CIE-LCH | lch(1.80, 3.43, 129.08°) |
| OKLab | oklab(12.37% -0.0189 0.0255) |
| OKLCH | oklch(12.37% 0.032 126.6) |
| XYZ | xyz(0.1369, 0.1995, 0.0313) |
| Luminance | 0.0020 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Almost Black
#070D0D
ΔE00 3.20
Black
#000000
ΔE00 3.97
Dark
#1B2431
ΔE00 13.50
Charcoal (survey)
#343837
ΔE00 13.88
Gunmetal
#2A3439
ΔE00 13.91
Dark Grey
#363737
ΔE00 14.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#040800 #040008
analogous
#080800 #040800 #000800
triadic
#040800 #000408 #080004
tetradic
#040800 #000808 #040008 #080000
square
#040800 #000808 #040008 #080000
split-complementary
#040800 #000008 #080008
monochromatic
#0F1F00 #0F1F00 #0F1F00 #234500 #418200
Accessibility & contrast
On white
20.20
#040800 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.04
#040800 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #040800
20.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##040800 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##040800 | 1.00 | 20.20 | 1.04 | 20.20 |
| #FFFFFF | 20.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 20.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#090700
Deuteranopia (green-blind)
#080700
Tritanopia (blue-blind)
#040706
Achromatopsia (no color)
#070707
Design tokens & code
CSS
--color: #040800; /* rgb */ color: rgb(4, 8, 0); /* oklch */ color: oklch(12.4% 0.032 126.6);
Tailwind
colors: {
custom: {
50: '#484a47',
500: '#040800',
950: '#000000',
},
}SCSS
$custom: #040800; $custom-light: #484a47; $custom-dark: #000000;
JSON
{
"hex": "#040800",
"rgb": {
"r": 4,
"g": 8,
"b": 0
},
"hsl": {
"h": 90,
"s": 100,
"l": 1.569
},
"oklch": {
"l": 0.12371,
"c": 0.03174,
"h": 126.6
},
"luminance": 0.00199
}Semantic roles & 50–950 ramp
primary
#040800
secondary
#320F55
accent
#29FF94
background
#F4F4F3
surface
#E6E7E5
border
#C2C3C1
text
#000100
muted
#777777