Color #305b27
A moderately saturated dark green.
Conversions
#305b27
rgb(48, 91, 39)
hsl(109.6, 40%, 25.5%)
hsv(109.6, 57.1%, 35.7%)
cmyk(47.3%, 0%, 57.1%, 64.3%)
lab(34.51, -26.39, 25.16)
lch(34.51, 36.46, 136.37)
oklch(42.7%, 0.0939, 140.23)
hwb(109.6, 15.3%, 64.3%)
Harmony colors
Accessibility
White text reads better on this background (7.92:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#464739 · ΔE 16.4
Deuteranopia
#44413c · ΔE 21.8
Tritanopia
#334345 · ΔE 21.6
Achromatopsia
#515151 · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #305b27;
bg-[#305b27]
Related colors
Frequently asked questions
#305b27 (#305b27) is rgb(48, 91, 39) in RGB.
No, #305b27 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 #305b27, or check how it holds up for accessibility.