graf1x

Black and Lime

Tonal Accent color combination with 17.06:1 contrast ratio

#000000
#AAFF32

Color Values

Black
HEX #000000
RGB 0, 0, 0
HSL 0, 0%, 0%
Lime
HEX #AAFF32
RGB 170, 255, 50
HSL 85, 100%, 60%

Harmony: Tonal Accent

One color is neutral and the other carries the chroma, which is a reliable formula for balanced design. The neutral gives the eye somewhere to rest while the chromatic color provides the focal point.

The hue angle between Black and Lime is 85 degrees (though one or both colors are achromatic, so hue angle is less relevant than lightness contrast). You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

17.06:1
Black background with Lime text
AAA all sizes

UI Preview

Black surface

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

Lime surface

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

Design Tokens

CSS Variables

:root {
  --color-a: #000000;
  --color-b: #AAFF32;
  --color-a-rgb: 0, 0, 0;
  --color-b-rgb: 170, 255, 50;
}

JSON

{
  "name": "Black and Lime",
  "colors": [
    {
      "name": "Black",
      "hex": "#000000",
      "rgb": [
        0,
        0,
        0
      ]
    },
    {
      "name": "Lime",
      "hex": "#AAFF32",
      "rgb": [
        170,
        255,
        50
      ]
    }
  ],
  "harmony": "Tonal Accent",
  "contrastRatio": 17.06
}

Explore These Colors

Frequently Asked Questions

Do black and lime go together?

Yes. Black and Lime form a tonal accent color combination. One color is neutral and the other carries the chroma, which is a reliable formula for balanced design. The neutral gives the eye somewhere to rest while the chromatic color provides the focal point. The pairing has a WCAG contrast ratio of 17.06:1, which passes AA for large text and UI components.

What is the contrast ratio between black and lime?

The WCAG 2.1 contrast ratio between Black (#000000) and Lime (#AAFF32) is 17.06:1. This passes AAA for all text sizes.

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

Black has the hex code #000000 and RGB values rgb(0, 0, 0). Lime has the hex code #AAFF32 and RGB values rgb(170, 255, 50). You can copy these directly into CSS or use the design tokens provided on this page.