Color #284940
A muted dark green.
Conversions
#284940
rgb(40, 73, 64)
hsl(163.6, 29.2%, 22.2%)
hsv(163.6, 45.2%, 28.6%)
cmyk(45.2%, 0%, 12.3%, 71.4%)
lab(28.34, -14.61, 1.6)
lch(28.34, 14.7, 173.75)
oklch(37.7%, 0.0421, 174.55)
hwb(163.6, 15.7%, 71.4%)
Harmony colors
Accessibility
White text reads better on this background (9.92:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#393942 · ΔE 18.6
Deuteranopia
#373443 · ΔE 22.4
Tritanopia
#2a4444 · ΔE 5.6
Achromatopsia
#434343 · ΔE 14.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #284940;
bg-[#284940]
Related colors
Frequently asked questions
#284940 (#284940) is rgb(40, 73, 64) in RGB.
No, #284940 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 #284940, or check how it holds up for accessibility.