Color #304a2a
A muted dark green.
Conversions
#304a2a
rgb(48, 74, 42)
hsl(108.8, 27.6%, 22.7%)
hsv(108.8, 43.2%, 29%)
cmyk(35.1%, 0%, 43.2%, 71%)
lab(28.62, -17.2, 16.04)
lch(28.62, 23.52, 137)
oklch(37.9%, 0.0615, 139.81)
hwb(108.8, 16.5%, 71%)
Harmony colors
Accessibility
White text reads better on this background (9.82:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3d3d34 · ΔE 14.1
Deuteranopia
#3b3936 · ΔE 17.8
Tritanopia
#323a3c · ΔE 17.5
Achromatopsia
#434343 · ΔE 17.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #304a2a;
bg-[#304a2a]
Related colors
Frequently asked questions
#304a2a (#304a2a) is rgb(48, 74, 42) in RGB.
No, #304a2a 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 #304a2a, or check how it holds up for accessibility.