Color #40302a
A muted dark orange.
Conversions
#40302a
rgb(64, 48, 42)
hsl(16.4, 20.8%, 20.8%)
hsv(16.4, 34.4%, 25.1%)
cmyk(0%, 25%, 34.4%, 74.9%)
lab(21.47, 6.23, 6.64)
lch(21.47, 9.11, 46.82)
oklch(32.5%, 0.0258, 41.54)
hwb(16.4, 16.5%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (12.54:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3a3a2c · ΔE 12.6
Deuteranopia
#3b3c2c · ΔE 13.9
Tritanopia
#3f2d2d · ΔE 3.9
Achromatopsia
#333333 · ΔE 9.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40302a;
bg-[#40302a]
Related colors
Frequently asked questions
#40302a (#40302a) is rgb(64, 48, 42) in RGB.
No, #40302a 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 #40302a, or check how it holds up for accessibility.