#040803#040803
#040803 is a very dark, near-neutral green. Relative luminance 0.002; OKLCH L 12.6% C 0.018 H 138.0°. Best body text is #FFFFFF at 20.17:1 contrast (WCAG AA passes).
Color values
| HEX | #040803 |
|---|---|
| RGB | rgb(4, 8, 3) |
| HSL | hsl(108, 45%, 2%) |
| HSV | hsv(108, 63%, 3%) |
| CMYK | cmyk(50%, 0%, 62.5%, 96.9%) |
| CIE-LAB | lab(1.86, -1.74, 1.52) |
| CIE-LCH | lch(1.86, 2.31, 138.81°) |
| OKLab | oklab(12.55% -0.0136 0.0122) |
| OKLCH | oklch(12.55% 0.018 138) |
| XYZ | xyz(0.1533, 0.2060, 0.1178) |
| Luminance | 0.0021 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Almost Black
#070D0D
ΔE00 2.17
Black
#000000
ΔE00 3.03
Dark
#1B2431
ΔE00 12.45
Gunmetal
#2A3439
ΔE00 13.43
Charcoal (survey)
#343837
ΔE00 13.71
Dark Grey
#363737
ΔE00 13.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#040803 #070308
analogous
#070803 #040803 #030805
triadic
#040803 #030408 #080304
tetradic
#040803 #030708 #070308 #080503
square
#040803 #030708 #070308 #080503
split-complementary
#040803 #050308 #080307
monochromatic
#0B1608 #0B1608 #0B1608 #1A3514 #316124
Accessibility & contrast
On white
20.17
#040803 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.04
#040803 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #040803
20.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##040803 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##040803 | 1.00 | 20.17 | 1.04 | 20.17 |
| #FFFFFF | 20.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 20.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#080703
Deuteranopia (green-blind)
#080703
Tritanopia (blue-blind)
#040806
Achromatopsia (no color)
#070707
Design tokens & code
CSS
--color: #040803; /* rgb */ color: rgb(4, 8, 3); /* oklch */ color: oklch(12.6% 0.018 138.0);
Tailwind
colors: {
custom: {
50: '#484a48',
500: '#040803',
950: '#000000',
},
}SCSS
$custom: #040803; $custom-light: #484a48; $custom-dark: #000000;
JSON
{
"hex": "#040803",
"rgb": {
"r": 4,
"g": 8,
"b": 3
},
"hsl": {
"h": 108,
"s": 45.455,
"l": 2.157
},
"oklch": {
"l": 0.1255,
"c": 0.01829,
"h": 138
},
"luminance": 0.00206
}Semantic roles & 50–950 ramp
primary
#040803
secondary
#3D2344
accent
#53D5BB
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000100
muted
#777777