Mexico Flag Colors

The Mexico flag uses 3 colors: Green (#006847), White (#FFFFFF), Red (#CE1126). Click a color to copy its code.

#006847
#FFFFFF
#CE1126
Green
HEX#006847
RGBrgb(0, 104, 71)
HSLhsl(161, 100%, 20%)
CMYKcmyk(100%, 0%, 32%, 59%)
NameBottle Green (closest)
Tailwindemerald-800
White
HEX#FFFFFF
RGBrgb(255, 255, 255)
HSLhsl(0, 0%, 100%)
CMYKcmyk(0%, 0%, 0%, 0%)
NameWhite
Tailwindzinc-50
Red
HEX#CE1126
RGBrgb(206, 17, 38)
HSLhsl(353, 85%, 44%)
CMYKcmyk(0%, 92%, 82%, 19%)
NameCherry (closest)
Tailwindrose-700

CSS variables

:root {
  --mexico-green: #006847;
  --mexico-white: #FFFFFF;
  --mexico-red: #CE1126;
}

Use this palette

Make a gradient Shades of #006847

Flag colors are common digital (sRGB) approximations. Official specifications vary and are often defined in Pantone or CMYK.

More flag colors: Americas

Mexico colors: questions & answers

What colors are on the Mexico flag?

Green (#006847), White (#FFFFFF), Red (#CE1126).

What is the HEX code of the Mexico flag colors?

Green: #006847; White: #FFFFFF; Red: #CE1126.

Are these the official Mexico flag colors?

They are widely used screen approximations. The official specification may define the colors in Pantone or CMYK, which can look slightly different on screen.