Color #2a5c51
A muted dark green.
Conversions
#2a5c51
rgb(42, 92, 81)
hsl(166.8, 37.3%, 26.3%)
hsv(166.8, 54.3%, 36.1%)
cmyk(54.3%, 0%, 12%, 63.9%)
lab(35.48, -19.9, 1.19)
lch(35.48, 19.94, 176.58)
oklch(43.7%, 0.0574, 177.2)
hwb(166.8, 16.5%, 63.9%)
Harmony colors
Accessibility
White text reads better on this background (7.64:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#454554 · ΔE 23.6
Deuteranopia
#423e54 · ΔE 27.3
Tritanopia
#2e5656 · ΔE 6.1
Achromatopsia
#535353 · ΔE 17.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a5c51;
bg-[#2a5c51]
Related colors
Frequently asked questions
#2a5c51 (#2a5c51) is rgb(42, 92, 81) in RGB.
No, #2a5c51 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 #2a5c51, or check how it holds up for accessibility.