Color #304a42
A muted dark green.
Conversions
#304a42
rgb(48, 74, 66)
hsl(161.5, 21.3%, 23.9%)
hsv(161.5, 35.1%, 29%)
cmyk(35.1%, 0%, 10.8%, 71%)
lab(29.21, -11.98, 1.62)
lch(29.21, 12.09, 172.3)
oklch(38.5%, 0.0346, 173.2)
hwb(161.5, 18.8%, 71%)
Harmony colors
Accessibility
White text reads better on this background (9.62:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3d3d44 · ΔE 15.9
Deuteranopia
#3b3945 · ΔE 19
Tritanopia
#324646 · ΔE 5.2
Achromatopsia
#454545 · ΔE 12.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #304a42;
bg-[#304a42]
Related colors
Frequently asked questions
#304a42 (#304a42) is rgb(48, 74, 66) in RGB.
No, #304a42 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 #304a42, or check how it holds up for accessibility.