#042C1F#042C1F
#042C1F is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.2% C 0.050 H 166.5°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).
Color values
| HEX | #042C1F |
|---|---|
| RGB | rgb(4, 44, 31) |
| HSL | hsl(161, 83%, 9%) |
| HSV | hsv(161, 91%, 17%) |
| CMYK | cmyk(90.9%, 0%, 29.5%, 82.7%) |
| CIE-LAB | lab(15.09, -17.67, 4.58) |
| CIE-LCH | lch(15.09, 18.25, 165.48°) |
| OKLab | oklab(26.19% -0.0488 0.0117) |
| OKLCH | oklch(26.19% 0.05 166.5) |
| XYZ | xyz(1.1979, 1.9260, 1.6047) |
| Luminance | 0.0193 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Forest Green
#002D04
ΔE00 8.97
Very Dark Green
#062E03
ΔE00 9.49
Evergreen
#05472A
ΔE00 9.82
Dark Green
#033500
ΔE00 11.82
Pine Green
#0A481E
ΔE00 12.29
Dark Blue Green
#005249
ΔE00 12.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042C1F #2C0411
analogous
#042C0B #042C1F #04252C
triadic
#042C1F #1F042C #2C1F04
tetradic
#042C1F #0B042C #2C0411 #252C04
square
#042C1F #0B042C #2C0411 #252C04
split-complementary
#042C1F #2C0425 #2C0B04
monochromatic
#031C14 #031C14 #042C1F #096447 #0E9C6E
Accessibility & contrast
On white
15.16
#042C1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#042C1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042C1F
15.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042C1F | 1.00 | 15.16 | 1.39 | 15.16 |
| #FFFFFF | 15.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B281E
Deuteranopia (green-blind)
#262420
Tritanopia (blue-blind)
#002C28
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #042c1f; /* rgb */ color: rgb(4, 44, 31); /* oklch */ color: oklch(26.2% 0.050 166.5);
Tailwind
colors: {
custom: {
50: '#4b655a',
500: '#042c1f',
950: '#000000',
},
}SCSS
$custom: #042c1f; $custom-light: #4b655a; $custom-dark: #000000;
JSON
{
"hex": "#042c1f",
"rgb": {
"r": 4,
"g": 44,
"b": 31
},
"hsl": {
"h": 160.5,
"s": 83.333,
"l": 9.412
},
"oklch": {
"l": 0.26185,
"c": 0.05014,
"h": 166.5
},
"luminance": 0.01926
}Semantic roles & 50–950 ramp
primary
#042C1F
secondary
#6F1D38
accent
#2E70FA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010503
muted
#777A78