Color #285242
A muted dark green.
Conversions
#285242
rgb(40, 82, 66)
hsl(157.1, 34.4%, 23.9%)
hsv(157.1, 51.2%, 32.2%)
cmyk(51.2%, 0%, 19.5%, 67.8%)
lab(31.53, -19.09, 4.9)
lch(31.53, 19.71, 165.6)
oklch(40.3%, 0.055, 166.75)
hwb(157.1, 15.7%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (8.84:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3e3f46 · ΔE 20.4
Deuteranopia
#3c3847 · ΔE 25.7
Tritanopia
#2b494a · ΔE 9.3
Achromatopsia
#4a4a4a · ΔE 17.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #285242;
bg-[#285242]
Related colors
Frequently asked questions
#285242 (#285242) is rgb(40, 82, 66) in RGB.
No, #285242 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 #285242, or check how it holds up for accessibility.