#042F1F#042F1F
#042F1F is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.2% C 0.055 H 163.1°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).
Color values
| HEX | #042F1F |
|---|---|
| RGB | rgb(4, 47, 31) |
| HSL | hsl(158, 84%, 10%) |
| HSV | hsv(158, 91%, 18%) |
| CMYK | cmyk(91.5%, 0%, 34%, 81.6%) |
| CIE-LAB | lab(16.29, -19.20, 6.25) |
| CIE-LCH | lch(16.29, 20.19, 161.96°) |
| OKLab | oklab(27.17% -0.0525 0.0159) |
| OKLCH | oklch(27.17% 0.055 163.1) |
| XYZ | xyz(1.3138, 2.1576, 1.6433) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Forest Green
#002D04
ΔE00 7.77
Very Dark Green
#062E03
ΔE00 8.31
Evergreen
#05472A
ΔE00 8.37
Dark Green
#033500
ΔE00 10.48
Pine Green
#0A481E
ΔE00 10.76
Dark Blue Green
#005249
ΔE00 11.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042F1F #2F0414
analogous
#042F09 #042F1F #042A2F
triadic
#042F1F #1F042F #2F1F04
tetradic
#042F1F #09042F #2F0414 #2A2F04
square
#042F1F #09042F #2F0414 #2A2F04
split-complementary
#042F1F #2F042A #2F0904
monochromatic
#021C13 #021C13 #042F1F #096744 #0EA069
Accessibility & contrast
On white
14.67
#042F1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#042F1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042F1F
14.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042F1F | 1.00 | 14.67 | 1.43 | 14.67 |
| #FFFFFF | 14.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E2B1E
Deuteranopia (green-blind)
#292720
Tritanopia (blue-blind)
#002F2B
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #042f1f; /* rgb */ color: rgb(4, 47, 31); /* oklch */ color: oklch(27.2% 0.055 163.1);
Tailwind
colors: {
custom: {
50: '#4c685a',
500: '#042f1f',
950: '#000000',
},
}SCSS
$custom: #042f1f; $custom-light: #4c685a; $custom-dark: #000000;
JSON
{
"hex": "#042f1f",
"rgb": {
"r": 4,
"g": 47,
"b": 31
},
"hsl": {
"h": 157.674,
"s": 84.314,
"l": 10
},
"oklch": {
"l": 0.27171,
"c": 0.05487,
"h": 163.1
},
"luminance": 0.02158
}Semantic roles & 50–950 ramp
primary
#042F1F
secondary
#721D3D
accent
#2D7AFB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78