graf1x

Lime and MidnightBlue

Split-Complementary color combination with 12.06:1 contrast ratio

#AAFF32
#191970

Color Values

Lime
HEX #AAFF32
RGB 170, 255, 50
HSL 85, 100%, 60%
MidnightBlue
HEX #191970
RGB 25, 25, 112
HSL 240, 64%, 27%

Harmony: Split-Complementary

This is a split-complementary pairing: one color paired with the two neighbors of its complement. It offers most of the contrast of a complementary scheme with less tension, making it easier to balance.

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

WCAG Contrast

12.06:1
Lime background with MidnightBlue text
AAA all sizes

UI Preview

Lime surface

Sample text on a lime 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: #AAFF32;
  --color-b: #191970;
  --color-a-rgb: 170, 255, 50;
  --color-b-rgb: 25, 25, 112;
}

JSON

{
  "name": "Lime and MidnightBlue",
  "colors": [
    {
      "name": "Lime",
      "hex": "#AAFF32",
      "rgb": [
        170,
        255,
        50
      ]
    },
    {
      "name": "MidnightBlue",
      "hex": "#191970",
      "rgb": [
        25,
        25,
        112
      ]
    }
  ],
  "harmony": "Split-Complementary",
  "contrastRatio": 12.06
}

Explore These Colors

Frequently Asked Questions

Do lime and midnightblue go together?

Yes. Lime and MidnightBlue form a split-complementary color combination. This is a split-complementary pairing: one color paired with the two neighbors of its complement. It offers most of the contrast of a complementary scheme with less tension, making it easier to balance. The pairing has a WCAG contrast ratio of 12.06:1, which passes AA for large text and UI components.

What is the contrast ratio between lime and midnightblue?

The WCAG 2.1 contrast ratio between Lime (#AAFF32) and MidnightBlue (#191970) is 12.06:1. This passes AAA for all text sizes.

How do I use lime 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 lime and midnightblue?

Lime has the hex code #AAFF32 and RGB values rgb(170, 255, 50). 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.