Color #404828
A muted dark green.
Conversions
#404828
rgb(64, 72, 40)
hsl(75, 28.6%, 22%)
hsv(75, 44.4%, 28.2%)
cmyk(11.1%, 0%, 44.4%, 71.8%)
lab(29.1, -9.4, 18.12)
lch(29.1, 20.41, 117.42)
oklch(38.6%, 0.0513, 120.31)
hwb(75, 15.7%, 71.8%)
Harmony colors
Accessibility
White text reads better on this background (9.65:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#444432 · ΔE 6.4
Deuteranopia
#434334 · ΔE 7.6
Tritanopia
#40383a · ΔE 21.1
Achromatopsia
#454545 · ΔE 15.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #404828;
bg-[#404828]
Related colors
Frequently asked questions
#404828 (#404828) is rgb(64, 72, 40) in RGB.
No, #404828 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 #404828, or check how it holds up for accessibility.