Color #284d42
A muted dark green.
Conversions
#284d42
rgb(40, 77, 66)
hsl(162.2, 31.6%, 22.9%)
hsv(162.2, 48.1%, 30.2%)
cmyk(48.1%, 0%, 14.3%, 69.8%)
lab(29.79, -16.34, 2.41)
lch(29.79, 16.52, 171.61)
oklch(38.9%, 0.047, 172.54)
hwb(162.2, 15.7%, 69.8%)
Harmony colors
Accessibility
White text reads better on this background (9.42:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3b3c45 · ΔE 19.3
Deuteranopia
#393646 · ΔE 23.8
Tritanopia
#2b4747 · ΔE 6.6
Achromatopsia
#464646 · ΔE 15.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #284d42;
bg-[#284d42]
Related colors
Frequently asked questions
#284d42 (#284d42) is rgb(40, 77, 66) in RGB.
No, #284d42 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 #284d42, or check how it holds up for accessibility.