#004D40

#004D40 — Color Codes & Palette

#004D40  ·  rgb(0, 77, 64)  ·  hsl(170, 100%, 15%)

Color Codes

Format Value
HEX #004D40
RGB rgb(0, 77, 64)
HSL hsl(170, 100%, 15%)

Shades of #004D40

#00473C#004237#003D33#00382F#00332B#002E26#002922#00241E

Tints of #004D40

#007A66#00A88C#00D6B3#05FFD5#33FFDD#61FFE5#8FFFEC#BDFFF4

Color Pairings & Harmony

Complementary
#4D000D
Analogous +30°
#00334D
Analogous −30°
#004D1A
Triadic +120°
#40004D
Triadic −120°
#4D4000

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
9.83:1 — AAA pass for normal text
vs. Black (#000000)
2.14:1 — Fail

CSS Snippet

.element {
  color: #004D40;
}

.element-bg {
  background-color: #004D40;
  color: #ffffff;
}

.element-border {
  border: 2px solid #004D40;
}

About #004D40

#004D40 is a very dark color with vivid, highly saturated, defined by the hex code #004D40. Its exact color model values are rgb(0, 77, 64) in RGB and hsl(170, 100%, 15%) in HSL (hue 170°, saturation 100%, lightness 15%). On a white background the contrast ratio is 9.83:1 — AAA pass for normal text, and on black it is 2.14:1 — Fail. Use #004D40 for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of #004D40?
The RGB value of #004D40 (#004D40) is rgb(0, 77, 64). Red = rgb(0, 77, 64), representing the amounts of red, green, and blue light on a 0–255 scale.
Is #004D40 accessible on a white background?
The contrast ratio of #004D40 on white (#FFFFFF) is 9.83:1 — AAA pass for normal text. On black (#000000) the contrast ratio is 2.14:1 — Fail. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with #004D40?
Based on color theory, #004D40 (hsl(170, 100%, 15%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.