Color #31aa45
A moderately saturated medium green.
Conversions
#31aa45
rgb(49, 170, 69)
hsl(129.9, 55.3%, 42.9%)
hsv(129.9, 71.2%, 66.7%)
cmyk(71.2%, 0%, 59.4%, 33.3%)
lab(61.51, -53.96, 41.9)
lch(61.51, 68.32, 142.17)
oklch(65%, 0.1761, 145.79)
hwb(129.9, 19.2%, 33.3%)
Harmony colors
Accessibility
Black text reads better on this background (6.97:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#797a69 · ΔE 24.9
Deuteranopia
#736970 · ΔE 41
Tritanopia
#3f7e82 · ΔE 30
Achromatopsia
#949494 · ΔE 27.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #31aa45;
bg-[#31aa45]
Related colors
Frequently asked questions
#31aa45 (#31aa45) is rgb(49, 170, 69) in RGB.
No, #31aa45 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 #31aa45, or check how it holds up for accessibility.