Color #307240
A moderately saturated dark green.
Conversions
#307240
rgb(48, 114, 64)
hsl(134.5, 40.7%, 31.8%)
hsv(134.5, 57.9%, 44.7%)
cmyk(57.9%, 0%, 43.9%, 55.3%)
lab(42.81, -32.92, 21.53)
lch(42.81, 39.34, 146.81)
oklch(49.6%, 0.1038, 149.16)
hwb(134.5, 18.8%, 55.3%)
Harmony colors
Accessibility
White text reads better on this background (5.82:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#545550 · ΔE 21.6
Deuteranopia
#514b53 · ΔE 30.1
Tritanopia
#365a5c · ΔE 20.3
Achromatopsia
#656565 · ΔE 23.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #307240;
bg-[#307240]
Related colors
Frequently asked questions
#307240 (#307240) is rgb(48, 114, 64) in RGB.
No, #307240 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 #307240, or check how it holds up for accessibility.