Color #304a37
A muted dark green.
Conversions
#304a37
rgb(48, 74, 55)
hsl(136.2, 21.3%, 23.9%)
hsv(136.2, 35.1%, 29%)
cmyk(35.1%, 0%, 25.7%, 71%)
lab(28.91, -14.62, 8.26)
lch(28.91, 16.79, 150.53)
oklch(38.2%, 0.0454, 152.31)
hwb(136.2, 18.8%, 71%)
Harmony colors
Accessibility
White text reads better on this background (9.72:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3d3d3c · ΔE 15
Deuteranopia
#3b393d · ΔE 18.7
Tritanopia
#324041 · ΔE 11.6
Achromatopsia
#444444 · ΔE 15.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #304a37;
bg-[#304a37]
Related colors
Frequently asked questions
#304a37 (#304a37) is rgb(48, 74, 55) in RGB.
No, #304a37 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 #304a37, or check how it holds up for accessibility.