Color #304f2c
A muted dark green.
Conversions
#304f2c
rgb(48, 79, 44)
hsl(113.1, 28.5%, 24.1%)
hsv(113.1, 44.3%, 31%)
cmyk(39.2%, 0%, 44.3%, 69%)
lab(30.4, -19.55, 17.14)
lch(30.4, 26, 138.76)
oklch(39.3%, 0.068, 141.56)
hwb(113.1, 17.3%, 69%)
Harmony colors
Accessibility
White text reads better on this background (9.21:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#404037 · ΔE 15.4
Deuteranopia
#3e3b39 · ΔE 20.4
Tritanopia
#323e3f · ΔE 17.2
Achromatopsia
#484848 · ΔE 19
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #304f2c;
bg-[#304f2c]
Related colors
Frequently asked questions
#304f2c (#304f2c) is rgb(48, 79, 44) in RGB.
No, #304f2c 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 #304f2c, or check how it holds up for accessibility.