Color #525851
A nearly neutral, gray-leaning dark green.
Conversions
#525851
rgb(82, 88, 81)
hsl(111.4, 4.1%, 33.1%)
hsv(111.4, 8%, 34.5%)
cmyk(6.8%, 0%, 8%, 65.5%)
lab(36.68, -3.88, 3.24)
lch(36.68, 5.05, 140.14)
oklch(45.3%, 0.0135, 141.01)
hwb(111.4, 31.8%, 65.5%)
Harmony colors
Accessibility
White text reads better on this background (7.31:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#555553 · ΔE 4.8
Deuteranopia
#545453 · ΔE 5.3
Tritanopia
#525454 · ΔE 5.1
Achromatopsia
#565656 · ΔE 5.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #525851;
bg-[#525851]
Related colors
Frequently asked questions
#525851 (#525851) is rgb(82, 88, 81) in RGB.
No, #525851 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 #525851, or check how it holds up for accessibility.