Color #042c21
A vivid, highly saturated very dark green.
Conversions
#042c21
rgb(4, 44, 33)
hsl(163.5, 83.3%, 9.4%)
hsv(163.5, 90.9%, 17.3%)
cmyk(90.9%, 0%, 25%, 82.7%)
lab(15.15, -17.04, 3.26)
lch(15.15, 17.35, 169.17)
oklch(26.3%, 0.0482, 170.09)
hwb(163.5, 1.6%, 82.7%)
Harmony colors
Accessibility
White text reads better on this background (15.14:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1c1c24 · ΔE 20.3
Deuteranopia
#1a1725 · ΔE 24.4
Tritanopia
#082627 · ΔE 7.7
Achromatopsia
#262626 · ΔE 16.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #042c21;
bg-[#042c21]
Related colors
Frequently asked questions
#042c21 (#042c21) is rgb(4, 44, 33) in RGB.
No, #042c21 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #042c21, or check how it holds up for accessibility.