Nearest named color · #0E2315
#0E2315
Nearest named color: Nightmare
#0E2315 (rgb(14 35 21), hsl(140 43% 10%), oklch(0.234 0.038 153.2)) is closest to the named color Nightmare. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#0E2315
oklch(0.234 0.038 153.2)
Color conversions
- HEX
- #0e2315
- RGB
- rgb(14 35 21)
- HSL
- hsl(140 43% 10%)
- HWB
- hwb(140 5% 86%)
- OKLCH
- oklch(0.234 0.038 153.2)
- OKLab
- oklab(0.234 -0.034 0.017)
- CIE Lab
- lab(11.61 -11.96 6.71)
- LCH
- lch(11.61 13.71 150.7)
- CMYK
- cmyk(60% 0% 40% 86%)
Tints · Shades · Tones
Tints
- 233628
- 38493C
- 4E5E52
- 657368
- 7D8980
- 969F98
- AFB6B1
- C9CECA
- E4E6E4
Shades
- 0B1D11
- 07170C
- 051108
- 030C05
- 020703
- 010402
- 000101
- 000000
- 000000
Tones
- 192B1E
- 233428
- 2E3D32
- 39463D
- 454F47
- 505952
- 5C625D
- 686C69
- 747674
Color harmonies
Complementary +180°
- 0E2315
Nightmare
- 291725
≈ Black Cherry
Analogous -30° +30°
- 0E2315
Nightmare
- 1A210B
≈ Midnight Pines
- 03241F
≈ Stellar Explorer
Triadic +120° +240°
- 0E2315
Nightmare
- 181C30
≈ Sombre Night
- 2D1712
≈ Darkroom
Split-complementary +150° +210°
- 0E2315
Nightmare
- 21192D
≈ Sambucus
- 2D161C
≈ Black Cherry
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 16.53:1 · APCA Lc 103
Ag
FailOn black
WCAG 1.26:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 16.53:1 (AAA) · APCA Lc 103
Contrast pairs
Code snippets
CSS
:root {
--nightmare: #0e2315;
--nightmare-rgb: 14 35 21;
--nightmare-oklch: oklch(0.234 0.038 153.2);
}
.element {
color: var(--nightmare);
background-color: hsl(140 43% 10%);
border-color: oklch(0.234 0.038 153.2);
}Tailwind CSS v4
@theme {
--color-nightmare: #0e2315;
--color-nightmare-50: #edf9f0;
--color-nightmare-100: #deece2;
--color-nightmare-200: #c8d9cd;
--color-nightmare-300: #a9beaf;
--color-nightmare-400: #8ea594;
--color-nightmare-500: #738e7a;
--color-nightmare-600: #627868;
--color-nightmare-700: #4e6053;
--color-nightmare-800: #39463c;
--color-nightmare-900: #273129;
--color-nightmare-950: #151d17;
}SCSS
$nightmare: #0e2315;
$nightmare-rgb: 14, 35, 21;
$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);
}