Midnight Forest
Use #0A1A10 as the background. Use #1A3A20 as the primary accent. Use #4A7A50 as secondary. Use #A0C8A8 as body text. Palette: Midnight Forest.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the Midnight Forest color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).
| Swatch | Design Role | HEX | RGB | CMYK | HSL |
|---|---|---|---|---|---|
| Background Luminance: 0.8% | 10, 26, 16 | 62%, 0%, 38%, 90% | 143°, 44%, 7% | ||
| Primary Accent Luminance: 3.4% | 26, 58, 32 | 55%, 0%, 45%, 77% | 131°, 38%, 16% | ||
| Secondary Luminance: 16.0% | 74, 122, 80 | 39%, 0%, 34%, 52% | 128°, 24%, 38% | ||
| Body Text Luminance: 51.6% | 160, 200, 168 | 20%, 0%, 16%, 22% | 132°, 27%, 71% |
Color Harmony: Analogous Scheme
The Midnight Forest palette is built using a analogous relationship between its hues. This ensures that even with high-contrast accents, the overall scheme feels balanced and intentional.
A analogous palette is often preferred by professional designers because it creates a calm, serene atmosphere by using neighboring colors.
History & Design Context
Best Design Use Cases
Industries This Palette Suits
How to Implement the Midnight Forest Color Scheme
To use this Midnight Forest color palette in your web project, you can copy the following CSS variables or Tailwind CSS configuration. These roles ensure your UI maintains accessibility and visual hierarchy.
Option 1: CSS Variables
:root {
/* {name} Palette - ihatecolors.com */{'
'} --color-bg: {colors[0]};{'
'} --color-primary: {colors[1]};{'
'} --color-secondary: {colors[2]};{'
'} --color-text: {colors[3]};{'
'} {'}'} Web Design Tip
Use #0A1A10 for the main background and #1A3A20 for primary buttons. This creates a high-contrast focal point.
Accessibility Note
The contrast ratio between #A0C8A8 and #0A1A10 is 9.69:1 (AAA). Ensure your body text remains legible.