最接近的命名颜色 · #002C17
#002C17
最接近的命名颜色: Pitch-Black Forests
#002C17(rgb(0 44 23)、hsl(151 100% 9%)、oklch(0.258 0.061 157))最接近命名颜色 Pitch-Black Forests。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#002C17
oklch(0.258 0.061 157)
颜色转换
- HEX
- #002c17
- RGB
- rgb(0 44 23)
- HSL
- hsl(151 100% 9%)
- HWB
- hwb(151 0% 83%)
- OKLCH
- oklch(0.258 0.061 157)
- OKLab
- oklab(0.258 -0.057 0.024)
- CIE Lab
- lab(14.72 -20.11 9.34)
- LCH
- lch(14.72 22.18 155.1)
- CMYK
- cmyk(100% 0% 48% 83%)
浅色调 · 深色调 · 灰色调
浅色调
- 1A3E2A
- 32523F
- 4A6554
- 627A6A
- 7A8F81
- 94A499
- AEBAB2
- C8D1CB
- E3E8E5
深色调
- 002512
- 001E0E
- 00170A
- 001106
- 000A04
- 000502
- 000201
- 000100
- 000000
灰色调
- 0F3420
- 1D3C2A
- 2A4434
- 364C3E
- 425549
- 4E5D53
- 5A665E
- 676E69
- 737775
配色和谐
互补色 +180°
- 002C17
Pitch-Black Forests
- 36162E
≈ Nightly Voyager
类似色 -30° +30°
- 002C17
Pitch-Black Forests
- 1B2903
≈ Lindworm Green
- 002A27
≈ Deep Slate Green
三角配色 +120° +240°
- 002C17
Pitch-Black Forests
- 1C2041
≈ Konkikyō Blue
- 3C170C
≈ American Bronze
分裂互补色 +150° +210°
- 002C17
Pitch-Black Forests
- 2B1A3A
≈ Blackcurrant
- 3B151E
≈ Chocolate Kiss
四角配色 +90° +180° +270°
- 002C17
Pitch-Black Forests
- 05253F
≈ Murky Depths
- 36162E
≈ Nightly Voyager
- 351D00
≈ Powdered Cocoa
对比度与无障碍
Ag
AAA白底
WCAG 15.29:1 · APCA Lc 102
Ag
Fail黑底
WCAG 1.37:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 15.29:1 (AAA) · APCA Lc 102
Contrast pairs
代码片段
CSS
:root {
--pitch-black-forests: #002c17;
--pitch-black-forests-rgb: 0 44 23;
--pitch-black-forests-oklch: oklch(0.258 0.061 157);
}
.element {
color: var(--pitch-black-forests);
background-color: hsl(151 100% 9%);
border-color: oklch(0.258 0.061 157);
}Tailwind CSS v4
@theme {
--color-pitch-black-forests: #002c17;
--color-pitch-black-forests-50: #e7fbef;
--color-pitch-black-forests-100: #d8efe1;
--color-pitch-black-forests-200: #bfddcb;
--color-pitch-black-forests-300: #9dc1ac;
--color-pitch-black-forests-400: #81aa90;
--color-pitch-black-forests-500: #639376;
--color-pitch-black-forests-600: #557c64;
--color-pitch-black-forests-700: #436350;
--color-pitch-black-forests-800: #314939;
--color-pitch-black-forests-900: #213227;
--color-pitch-black-forests-950: #101e15;
}SCSS
$pitch-black-forests: #002c17;
$pitch-black-forests-rgb: 0, 44, 23;
$pitch-black-forests-light: mix(#fff, $pitch-black-forests, 20%);
$pitch-black-forests-dark: mix(#000, $pitch-black-forests, 20%);
.element {
color: $pitch-black-forests;
box-shadow: 0 0 0 2px rgba($pitch-black-forests, 0.35);
}