#040600#040600
#040600 is a very dark, muted yellow-green. Relative luminance 0.002; OKLCH L 11.4% C 0.027 H 120.9°. Best body text is #FFFFFF at 20.36:1 contrast (WCAG AA passes).
Color values
| HEX | #040600 |
|---|---|
| RGB | rgb(4, 6, 0) |
| HSL | hsl(80, 100%, 1%) |
| HSV | hsv(80, 100%, 2%) |
| CMYK | cmyk(33.3%, 0%, 100%, 97.6%) |
| CIE-LAB | lab(1.41, -1.36, 2.09) |
| CIE-LCH | lch(1.41, 2.49, 123.07°) |
| OKLab | oklab(11.44% -0.0141 0.0235) |
| OKLCH | oklch(11.44% 0.027 120.9) |
| XYZ | xyz(0.1152, 0.1561, 0.0241) |
| Luminance | 0.0016 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Almost Black
#070D0D
ΔE00 2.79
Black
#000000
ΔE00 2.85
Dark
#1B2431
ΔE00 13.00
Very Dark Brown
#1D0200
ΔE00 13.76
Gunmetal
#2A3439
ΔE00 13.96
Dark Grey
#363737
ΔE00 14.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#040600 #020006
analogous
#060500 #040600 #010600
triadic
#040600 #000406 #060004
tetradic
#040600 #000605 #020006 #060001
square
#040600 #000605 #020006 #060001
split-complementary
#040600 #000106 #050006
monochromatic
#141F00 #141F00 #141F00 #2D4300 #568000
Accessibility & contrast
On white
20.36
#040600 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.03
#040600 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #040600
20.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##040600 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##040600 | 1.00 | 20.36 | 1.03 | 20.36 |
| #FFFFFF | 20.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 20.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#070500
Deuteranopia (green-blind)
#070500
Tritanopia (blue-blind)
#050504
Achromatopsia (no color)
#050505
Design tokens & code
CSS
--color: #040600; /* rgb */ color: rgb(4, 6, 0); /* oklch */ color: oklch(11.4% 0.027 120.9);
Tailwind
colors: {
custom: {
50: '#484947',
500: '#040600',
950: '#000000',
},
}SCSS
$custom: #040600; $custom-light: #484947; $custom-dark: #000000;
JSON
{
"hex": "#040600",
"rgb": {
"r": 4,
"g": 6,
"b": 0
},
"hsl": {
"h": 80,
"s": 100,
"l": 1.176
},
"oklch": {
"l": 0.11441,
"c": 0.02744,
"h": 120.9
},
"luminance": 0.00156
}Semantic roles & 50–950 ramp
primary
#040600
secondary
#250F53
accent
#29FF70
background
#F4F4F3
surface
#E6E6E5
border
#C2C2C1
text
#000000
muted
#777777