Black & Dark Lime, Gray Color Palette
:root {
--color-1: #272C18;
--color-2: #686464;
--color-3: #2F3148;
--color-4: #0A0A1E;
}
colors: {
'palette-1': '#272C18',
'palette-2': '#686464',
'palette-3': '#2F3148',
'palette-4': '#0A0A1E',
}
const palette = [
'#272C18',
'#686464',
'#2F3148',
'#0A0A1E',
];
$color-1: #272C18;
$color-2: #686464;
$color-3: #2F3148;
$color-4: #0A0A1E;
This is a cool, calm and understated 4-colour palette built from closely related tones that blend harmoniously.
About this color palette
This is a cool, calm and understated 4-colour palette built from closely related tones that blend harmoniously. It is anchored by Black (#0A0A1E) and reads as deep and moody, with an average saturation of 26% and lightness of 21%. It works well for calm, professional and modern interfaces.
The colors in this palette
Dark Lime #272C18
rgb(39, 44, 24) · hsl(75, 29%, 13%)
A deep, low-lightness tone — strong for text, headings and bold accents.
Gray #686464
rgb(104, 100, 100) · hsl(0, 2%, 40%)
A soft, muted tone that suits calm backgrounds and large surfaces.
Dark Blue #2F3148
rgb(47, 49, 72) · hsl(235, 21%, 23%)
A deep, low-lightness tone — strong for text, headings and bold accents.
Black #0A0A1E
rgb(10, 10, 30) · hsl(240, 50%, 8%)
A deep, low-lightness tone — strong for text, headings and bold accents.
Accessibility & contrast
Colour contrast decides whether text stays readable. Here is how each pair of colours in this palette performs when one is used as text on the other, measured against the WCAG standard (AA needs 4.5:1, AAA needs 7:1).
| Text | Background | Ratio | AA | AAA |
|---|---|---|---|---|
| #686464 | #0A0A1E | 3.34:1 | Fail | Fail |
| #272C18 | #686464 | 2.46:1 | Fail | Fail |
| #686464 | #2F3148 | 2.17:1 | Fail | Fail |
| #2F3148 | #0A0A1E | 1.54:1 | Fail | Fail |
| #272C18 | #0A0A1E | 1.36:1 | Fail | Fail |
| #272C18 | #2F3148 | 1.13:1 | Fail | Fail |
How to use these colors
- Background — Gray (#686464): the lightest tone — a clean base for large areas
- Text — Black (#0A0A1E): the darkest tone — readable for body copy and headings
- Primary — Black (#0A0A1E): the most saturated tone — buttons, links and key UI
- Accent — Dark Lime (#272C18): a secondary highlight for badges and details
Colors that pair with this palette
Want to extend this palette? These colours pair naturally with its dominant Black tone, based on colour-wheel harmony. Tap a swatch to explore that colour family.
Frequently asked questions
What colours are in this palette?
This palette has 4 colours: Dark Lime (#272C18), Gray (#686464), Dark Blue (#2F3148) and Black (#0A0A1E).
Is this a warm or cool colour palette?
It is a cool palette — its tones lean toward blues, greens and purples, which feel calm and modern.
What are the hex codes for this palette?
The hex codes are #272C18, #686464, #2F3148 and #0A0A1E. You can copy them as CSS variables, Tailwind, SCSS or JSON from the code panel above.
Is this palette accessible for text?
The colours are fairly close in contrast, so pair them carefully for text — put a very light or very dark colour behind body text, and check the contrast table above.