#042F1C#042F1C
#042F1C is a dark, muted teal. Relative luminance 0.021; OKLCH L 27.1% C 0.058 H 159.1°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).
Color values
| HEX | #042F1C |
|---|---|
| RGB | rgb(4, 47, 28) |
| HSL | hsl(153, 84%, 10%) |
| HSV | hsv(153, 91%, 18%) |
| CMYK | cmyk(91.5%, 0%, 40.4%, 81.6%) |
| CIE-LAB | lab(16.22, -20.03, 8.20) |
| CIE-LCH | lch(16.22, 21.65, 157.74°) |
| OKLab | oklab(27.08% -0.0543 0.0207) |
| OKLCH | oklch(27.08% 0.058 159.1) |
| XYZ | xyz(1.2761, 2.1425, 1.4447) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Forest Green
#002D04
ΔE00 6.49
Very Dark Green
#062E03
ΔE00 7.04
Evergreen
#05472A
ΔE00 7.85
Dark Green
#033500
ΔE00 9.23
Pine Green
#0A481E
ΔE00 9.88
Hunter Green (survey)
#0B4008
ΔE00 10.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042F1C #2F0417
analogous
#042F06 #042F1C #042D2F
triadic
#042F1C #1C042F #2F1C04
tetradic
#042F1C #06042F #2F0417 #2D2F04
square
#042F1C #06042F #2F0417 #2D2F04
split-complementary
#042F1C #2F042D #2F0604
monochromatic
#021C11 #021C11 #042F1C #09673E #0EA05F
Accessibility & contrast
On white
14.70
#042F1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#042F1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042F1C
14.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042F1C | 1.00 | 14.70 | 1.43 | 14.70 |
| #FFFFFF | 14.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E2A1B
Deuteranopia (green-blind)
#29271D
Tritanopia (blue-blind)
#002F2A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #042f1c; /* rgb */ color: rgb(4, 47, 28); /* oklch */ color: oklch(27.1% 0.058 159.1);
Tailwind
colors: {
custom: {
50: '#4c6858',
500: '#042f1c',
950: '#000000',
},
}SCSS
$custom: #042f1c; $custom-light: #4c6858; $custom-dark: #000000;
JSON
{
"hex": "#042f1c",
"rgb": {
"r": 4,
"g": 47,
"b": 28
},
"hsl": {
"h": 153.488,
"s": 84.314,
"l": 10
},
"oklch": {
"l": 0.27084,
"c": 0.05814,
"h": 159.1
},
"luminance": 0.02143
}Semantic roles & 50–950 ramp
primary
#042F1C
secondary
#721D43
accent
#2D88FB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78