Nearest named color · #071C07
#071C07
Nearest named color: Nightmare
#071C07 (rgb(7 28 7), hsl(120 60% 7%), oklch(0.202 0.049 143.5)) is closest to the named color Nightmare. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#071C07
oklch(0.202 0.049 143.5)
Color conversions
- HEX
- #071c07
- RGB
- rgb(7 28 7)
- HSL
- hsl(120 60% 7%)
- HWB
- hwb(120 3% 89%)
- OKLCH
- oklch(0.202 0.049 143.5)
- OKLab
- oklab(0.202 -0.039 0.029)
- CIE Lab
- lab(8.06 -11.73 8.85)
- LCH
- lch(8.06 14.69 142.9)
- CMYK
- cmyk(75% 0% 75% 89%)
Tints · Shades · Tones
Tints
- 1C2F1B
- 314330
- 485847
- 606E5F
- 788577
- 929C91
- ACB4AB
- C7CCC7
- E3E5E2
Shades
- 051705
- 041204
- 020D02
- 020802
- 010501
- 000200
- 000100
- 000000
- 000000
Tones
- 122512
- 1D2E1D
- 293828
- 354234
- 404C40
- 4D564C
- 596059
- 666B65
- 737573
Color harmonies
Complementary +180°
- 071C07
Nightmare
- 210E23
≈ Inside
Analogous -30° +30°
- 071C07
Nightmare
- 171900
≈ Pinch of Pepper
- 001C15
≈ Pinch of Pepper
Triadic +120° +240°
- 071C07
Nightmare
- 0B162C
≈ Liberty Blue
- 290C0C
≈ Root Brew
Split-complementary +150° +210°
- 071C07
Nightmare
- 18112A
≈ Lost in Sadness
- 270C18
≈ Inside
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 17.82:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.82:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--nightmare: #071c07;
--nightmare-rgb: 7 28 7;
--nightmare-oklch: oklch(0.202 0.049 143.5);
}
.element {
color: var(--nightmare);
background-color: hsl(120 60% 7%);
border-color: oklch(0.202 0.049 143.5);
}Tailwind CSS v4
@theme {
--color-nightmare: #071c07;
--color-nightmare-50: #edf9ed;
--color-nightmare-100: #deedde;
--color-nightmare-200: #c8dac8;
--color-nightmare-300: #a8bea9;
--color-nightmare-400: #8ea68c;
--color-nightmare-500: #738f72;
--color-nightmare-600: #627960;
--color-nightmare-700: #4e614d;
--color-nightmare-800: #394737;
--color-nightmare-900: #273126;
--color-nightmare-950: #151d14;
}SCSS
$nightmare: #071c07;
$nightmare-rgb: 7, 28, 7;
$nightmare-light: mix(#fff, $nightmare, 20%);
$nightmare-dark: mix(#000, $nightmare, 20%);
.element {
color: $nightmare;
box-shadow: 0 0 0 2px rgba($nightmare, 0.35);
}