Color #304c38
A muted dark green.
Conversions
#304c38
rgb(48, 76, 56)
hsl(137.1, 22.6%, 24.3%)
hsv(137.1, 36.8%, 29.8%)
cmyk(36.8%, 0%, 26.3%, 70.2%)
lab(29.62, -15.53, 8.61)
lch(29.62, 17.76, 151)
oklch(38.8%, 0.048, 152.74)
hwb(137.1, 18.8%, 70.2%)
Harmony colors
Accessibility
White text reads better on this background (9.47:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3e3e3e · ΔE 16.1
Deuteranopia
#3c3a3f · ΔE 19.7
Tritanopia
#324242 · ΔE 11.1
Achromatopsia
#464646 · ΔE 15.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #304c38;
bg-[#304c38]
Related colors
Frequently asked questions
#304c38 (#304c38) is rgb(48, 76, 56) in RGB.
No, #304c38 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 #304c38, or check how it holds up for accessibility.