Color #042f26
A vivid, highly saturated very dark green.
Conversions
#042f26
rgb(4, 47, 38)
hsl(167.4, 84.3%, 10%)
hsv(167.4, 91.5%, 18.4%)
cmyk(91.5%, 0%, 19.1%, 81.6%)
lab(16.5, -17.03, 1.7)
lch(16.5, 17.11, 174.3)
oklch(27.4%, 0.0485, 175.03)
hwb(167.4, 1.6%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (14.59:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1e1e28 · ΔE 20.9
Deuteranopia
#1c1829 · ΔE 25.5
Tritanopia
#082a2b · ΔE 6.4
Achromatopsia
#292929 · ΔE 16.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #042f26;
bg-[#042f26]
Related colors
Frequently asked questions
#042f26 (#042f26) is rgb(4, 47, 38) in RGB.
No, #042f26 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 #042f26, or check how it holds up for accessibility.