#042D1C#042D1C
#042D1C is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.4% C 0.055 H 160.8°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).
Color values
| HEX | #042D1C |
|---|---|
| RGB | rgb(4, 45, 28) |
| HSL | hsl(155, 84%, 10%) |
| HSV | hsv(155, 91%, 18%) |
| CMYK | cmyk(91.1%, 0%, 37.8%, 82.4%) |
| CIE-LAB | lab(15.42, -19.05, 7.10) |
| CIE-LCH | lch(15.42, 20.33, 159.55°) |
| OKLab | oklab(26.42% -0.0518 0.018) |
| OKLCH | oklch(26.42% 0.055 160.8) |
| XYZ | xyz(1.1979, 1.9863, 1.4186) |
| Luminance | 0.0199 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Forest Green
#002D04
ΔE00 7.20
Very Dark Green
#062E03
ΔE00 7.74
Evergreen
#05472A
ΔE00 8.71
Dark Green
#033500
ΔE00 10.06
Pine Green
#0A481E
ΔE00 10.83
Hunter Green (survey)
#0B4008
ΔE00 11.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042D1C #2D0415
analogous
#042D08 #042D1C #042A2D
triadic
#042D1C #1C042D #2D1C04
tetradic
#042D1C #08042D #2D0415 #2A2D04
square
#042D1C #08042D #2D0415 #2A2D04
split-complementary
#042D1C #2D042A #2D0804
monochromatic
#021C11 #021C11 #042D1C #09653F #0E9D62
Accessibility & contrast
On white
15.03
#042D1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#042D1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042D1C
15.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042D1C | 1.00 | 15.03 | 1.40 | 15.03 |
| #FFFFFF | 15.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C291B
Deuteranopia (green-blind)
#27251D
Tritanopia (blue-blind)
#002D28
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #042d1c; /* rgb */ color: rgb(4, 45, 28); /* oklch */ color: oklch(26.4% 0.055 160.8);
Tailwind
colors: {
custom: {
50: '#4b6658',
500: '#042d1c',
950: '#000000',
},
}SCSS
$custom: #042d1c; $custom-light: #4b6658; $custom-dark: #000000;
JSON
{
"hex": "#042d1c",
"rgb": {
"r": 4,
"g": 45,
"b": 28
},
"hsl": {
"h": 155.122,
"s": 83.673,
"l": 9.608
},
"oklch": {
"l": 0.26422,
"c": 0.05489,
"h": 160.8
},
"luminance": 0.01986
}Semantic roles & 50–950 ramp
primary
#042D1C
secondary
#701D3F
accent
#2E82FA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78