Color #28471f
A muted dark green.
Conversions
#28471f
rgb(40, 71, 31)
hsl(106.5, 39.2%, 20%)
hsv(106.5, 56.3%, 27.8%)
cmyk(43.7%, 0%, 56.3%, 72.2%)
lab(26.89, -20.54, 20.37)
lch(26.89, 28.93, 135.24)
oklch(36.3%, 0.0746, 139.02)
hwb(106.5, 12.2%, 72.2%)
Harmony colors
Accessibility
White text reads better on this background (10.44:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#38382c · ΔE 14.9
Deuteranopia
#36342f · ΔE 18.7
Tritanopia
#2a3536 · ΔE 18.6
Achromatopsia
#404040 · ΔE 19.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #28471f;
bg-[#28471f]
Related colors
Frequently asked questions
#28471f (#28471f) is rgb(40, 71, 31) in RGB.
No, #28471f 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 #28471f, or check how it holds up for accessibility.