Warna bernama terdekat · #051C08
#051C08
Warna bernama terdekat: Nightmare
#051C08 (rgb(5 28 8), hsl(128 70% 6%), oklch(0.201 0.049 146.5)) paling mendekati warna bernama Nightmare. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#051C08
oklch(0.201 0.049 146.5)
Konversi warna
- HEX
- #051c08
- RGB
- rgb(5 28 8)
- HSL
- hsl(128 70% 6%)
- HWB
- hwb(128 2% 89%)
- OKLCH
- oklch(0.201 0.049 146.5)
- OKLab
- oklab(0.201 -0.041 0.027)
- CIE Lab
- lab(7.96 -12.17 8.28)
- LCH
- lch(7.96 14.72 145.8)
- CMYK
- cmyk(82% 0% 71% 89%)
Tint · Shade · Tone
Tint
- 1A2F1C
- 304331
- 475848
- 5F6E5F
- 778578
- 919C91
- ABB4AC
- C7CCC7
- E3E5E3
Shade
- 041706
- 031204
- 020D03
- 010802
- 010501
- 000201
- 000100
- 000000
- 000000
Tone
- 102513
- 1C2E1E
- 283829
- 334234
- 404C40
- 4C564C
- 596059
- 656B66
- 737573
Harmoni warna
Komplementer +180°
- 051C08
Nightmare
- 210D22
≈ Meški Black
Analog -30° +30°
- 051C08
Nightmare
- 151900
≈ Pinch of Pepper
- 001C16
≈ Pinch of Pepper
Triadik +120° +240°
- 051C08
Nightmare
- 0C152C
≈ Liberty Blue
- 290C0A
≈ Root Brew
Split-komplementer +150° +210°
- 051C08
Nightmare
- 19112A
≈ Midnight Monarch
- 270B17
≈ Meški Black
Tetradik +90° +180° +270°
Kontras & aksesibilitas
Ag
AAADi atas putih
WCAG 17.85:1 · APCA Lc 104
Ag
FailDi atas hitam
WCAG 1.17:1 · APCA Lc 0
Warna teks terbaik: #FFFFFF
WCAG 17.85:1 (AAA) · APCA Lc 104
Contrast pairs
Cuplikan kode
CSS
:root {
--nightmare: #051c08;
--nightmare-rgb: 5 28 8;
--nightmare-oklch: oklch(0.201 0.049 146.5);
}
.element {
color: var(--nightmare);
background-color: hsl(128 70% 6%);
border-color: oklch(0.201 0.049 146.5);
}Tailwind CSS v4
@theme {
--color-nightmare: #051c08;
--color-nightmare-50: #ecf9ee;
--color-nightmare-100: #ddeddf;
--color-nightmare-200: #c7dac9;
--color-nightmare-300: #a7bfaa;
--color-nightmare-400: #8ca78e;
--color-nightmare-500: #718f73;
--color-nightmare-600: #607962;
--color-nightmare-700: #4d614e;
--color-nightmare-800: #384738;
--color-nightmare-900: #263126;
--color-nightmare-950: #151d15;
}SCSS
$nightmare: #051c08;
$nightmare-rgb: 5, 28, 8;
$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);
}