#042012#042012
#042012 is a very dark, muted teal. Relative luminance 0.011; OKLCH L 21.7% C 0.044 H 158.3°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).
Color values
| HEX | #042012 |
|---|---|
| RGB | rgb(4, 32, 18) |
| HSL | hsl(150, 78%, 7%) |
| HSV | hsv(150, 88%, 13%) |
| CMYK | cmyk(87.5%, 0%, 43.8%, 87.5%) |
| CIE-LAB | lab(9.82, -14.63, 6.21) |
| CIE-LCH | lch(9.82, 15.90, 157.01°) |
| OKLab | oklab(21.73% -0.0411 0.0164) |
| OKLCH | oklch(21.73% 0.044 158.3) |
| XYZ | xyz(0.6757, 1.1024, 0.7493) |
| Luminance | 0.0110 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Forest Green
#002D04
ΔE00 9.24
Very Dark Green
#062E03
ΔE00 9.61
Dark Green
#033500
ΔE00 12.41
Evergreen
#05472A
ΔE00 13.16
Almost Black
#070D0D
ΔE00 13.83
Pine Green
#0A481E
ΔE00 14.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042012 #200412
analogous
#042004 #042012 #042020
triadic
#042012 #120420 #201204
tetradic
#042012 #040420 #200412 #202004
square
#042012 #040420 #200412 #202004
split-complementary
#042012 #200420 #200404
monochromatic
#031B0F #031B0F #042012 #0B5631 #128D4F
Accessibility & contrast
On white
17.20
#042012 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.22
#042012 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042012
17.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042012 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042012 | 1.00 | 17.20 | 1.22 | 17.20 |
| #FFFFFF | 17.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#201D11
Deuteranopia (green-blind)
#1C1A13
Tritanopia (blue-blind)
#00201C
Achromatopsia (no color)
#1B1B1B
Design tokens & code
CSS
--color: #042012; /* rgb */ color: rgb(4, 32, 18); /* oklch */ color: oklch(21.7% 0.044 158.3);
Tailwind
colors: {
custom: {
50: '#485b4f',
500: '#042012',
950: '#000000',
},
}SCSS
$custom: #042012; $custom-light: #485b4f; $custom-dark: #000000;
JSON
{
"hex": "#042012",
"rgb": {
"r": 4,
"g": 32,
"b": 18
},
"hsl": {
"h": 150,
"s": 77.778,
"l": 7.059
},
"oklch": {
"l": 0.21733,
"c": 0.04427,
"h": 158.3
},
"luminance": 0.01103
}Semantic roles & 50–950 ramp
primary
#042012
secondary
#631D40
accent
#3494F4
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000402
muted
#777978