Color #304e22
A muted dark green.
Conversions
#304e22
rgb(48, 78, 34)
hsl(100.9, 39.3%, 22%)
hsv(100.9, 56.4%, 30.6%)
cmyk(38.5%, 0%, 56.4%, 69.4%)
lab(29.89, -20.6, 22.39)
lch(29.89, 30.42, 132.62)
oklch(38.9%, 0.078, 136.61)
hwb(100.9, 13.3%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (9.38:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3f3f31 · ΔE 14.4
Deuteranopia
#3d3b34 · ΔE 18.1
Tritanopia
#323a3c · ΔE 20.4
Achromatopsia
#464646 · ΔE 20.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #304e22;
bg-[#304e22]
Related colors
Frequently asked questions
#304e22 (#304e22) is rgb(48, 78, 34) in RGB.
No, #304e22 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 #304e22, or check how it holds up for accessibility.