Color #304f2b
A muted dark green.
Conversions
#304f2b
rgb(48, 79, 43)
hsl(111.7, 29.5%, 23.9%)
hsv(111.7, 45.6%, 31%)
cmyk(39.2%, 0%, 45.6%, 69%)
lab(30.39, -19.72, 17.72)
lch(30.39, 26.51, 138.06)
oklch(39.3%, 0.0692, 140.98)
hwb(111.7, 16.9%, 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
#404036 · ΔE 15.1
Deuteranopia
#3e3b39 · ΔE 20.6
Tritanopia
#323e3f · ΔE 17.4
Achromatopsia
#484848 · ΔE 19.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #304f2b;
bg-[#304f2b]
Related colors
Frequently asked questions
#304f2b (#304f2b) is rgb(48, 79, 43) in RGB.
No, #304f2b 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 #304f2b, or check how it holds up for accessibility.