graf1x

ForestGreen and MidnightBlue

Triadic color combination with 3.38:1 contrast ratio

#228B22
#191970

Color Values

ForestGreen
HEX #228B22
RGB 34, 139, 34
HSL 120, 61%, 34%
MidnightBlue
HEX #191970
RGB 25, 25, 112
HSL 240, 64%, 27%

Harmony: Triadic

These colors are roughly 120 degrees apart on the wheel — a triadic relationship that stays lively without clashing. Triadic schemes work best when one color dominates and the other two act as accents.

The hue angle between ForestGreen and MidnightBlue is 120 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

3.38:1
ForestGreen background with MidnightBlue text
AA large text only

UI Preview

ForestGreen surface

Sample text on a forestgreen background demonstrates readability and visual hierarchy.

MidnightBlue surface

Sample text on a midnightblue background demonstrates readability and visual hierarchy.

Design Tokens

CSS Variables

:root {
  --color-a: #228B22;
  --color-b: #191970;
  --color-a-rgb: 34, 139, 34;
  --color-b-rgb: 25, 25, 112;
}

JSON

{
  "name": "ForestGreen and MidnightBlue",
  "colors": [
    {
      "name": "ForestGreen",
      "hex": "#228B22",
      "rgb": [
        34,
        139,
        34
      ]
    },
    {
      "name": "MidnightBlue",
      "hex": "#191970",
      "rgb": [
        25,
        25,
        112
      ]
    }
  ],
  "harmony": "Triadic",
  "contrastRatio": 3.38
}

Explore These Colors

Frequently Asked Questions

Do forestgreen and midnightblue go together?

Yes. ForestGreen and MidnightBlue form a triadic color combination. These colors are roughly 120 degrees apart on the wheel — a triadic relationship that stays lively without clashing. Triadic schemes work best when one color dominates and the other two act as accents. The pairing has a WCAG contrast ratio of 3.38:1, which passes AA for large text but not for body text.

What is the contrast ratio between forestgreen and midnightblue?

The WCAG 2.1 contrast ratio between ForestGreen (#228B22) and MidnightBlue (#191970) is 3.38:1. This passes AA for large text (18pt+ or 14pt+ bold) but not for normal-sized body text.

How do I use forestgreen and midnightblue in design?

A safe starting point is the 60/30/10 rule: give one color about 60 percent of the surface area, the other about 30 percent, and reserve the remaining 10 percent for an accent or neutral. If one color is significantly darker, use it for text or structural elements and the lighter one for backgrounds. Test the result with our Contrast Checker if text is involved.

What are the hex and RGB values for forestgreen and midnightblue?

ForestGreen has the hex code #228B22 and RGB values rgb(34, 139, 34). MidnightBlue has the hex code #191970 and RGB values rgb(25, 25, 112). You can copy these directly into CSS or use the design tokens provided on this page.