最接近的命名颜色 · #002F22
#002F22
最接近的命名颜色: Pitch-Black Forests
#002F22(rgb(0 47 34)、hsl(163 100% 9%)、oklch(0.271 0.054 168.9))最接近命名颜色 Pitch-Black Forests。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#002F22
oklch(0.271 0.054 168.9)
颜色转换
- HEX
- #002f22
- RGB
- rgb(0 47 34)
- HSL
- hsl(163 100% 9%)
- HWB
- hwb(163 0% 82%)
- OKLCH
- oklch(0.271 0.054 168.9)
- OKLab
- oklab(0.271 -0.053 0.01)
- CIE Lab
- lab(16.18 -18.98 3.87)
- LCH
- lch(16.18 19.37 168.5)
- CMYK
- cmyk(100% 0% 28% 82%)
浅色调 · 深色调 · 灰色调
浅色调
- 1C4135
- 345448
- 4B685D
- 637C72
- 7B9088
- 95A69F
- AEBBB6
- C9D1CE
- E4E8E6
深色调
- 00271C
- 002016
- 001911
- 00120B
- 000C07
- 000603
- 000301
- 000100
- 000000
灰色调
- 10372A
- 1E3E33
- 2B463C
- 374E45
- 43564F
- 4F5F58
- 5B6762
- 676F6C
- 747776
配色和谐
互补色 +180°
- 002F22
Pitch-Black Forests
- 3A1B2B
≈ Black-Hearted
类似色 -30° +30°
- 002F22
Pitch-Black Forests
- 182D12
≈ Nori Green
- 002D2F
≈ Roof Tile Green
三角配色 +120° +240°
- 002F22
Pitch-Black Forests
- 26223F
≈ Throat
- 3C1E0C
≈ 90% Cocoa
分裂互补色 +150° +210°
- 002F22
Pitch-Black Forests
- 321D38
≈ Fat Tuesday
- 3D1B1C
≈ Rustic Red
四角配色 +90° +180° +270°
- 002F22
Pitch-Black Forests
- 162741
≈ Eternal Darkness
- 3A1B2B
≈ Black-Hearted
- 352302
≈ Black Swan
对比度与无障碍
Ag
AAA白底
WCAG 14.68:1 · APCA Lc 101
Ag
Fail黑底
WCAG 1.42:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 14.68:1 (AAA) · APCA Lc 101
Contrast pairs
代码片段
CSS
:root {
--pitch-black-forests: #002f22;
--pitch-black-forests-rgb: 0 47 34;
--pitch-black-forests-oklch: oklch(0.271 0.054 168.9);
}
.element {
color: var(--pitch-black-forests);
background-color: hsl(163 100% 9%);
border-color: oklch(0.271 0.054 168.9);
}Tailwind CSS v4
@theme {
--color-pitch-black-forests: #002f22;
--color-pitch-black-forests-50: #e7fbf3;
--color-pitch-black-forests-100: #d7eee5;
--color-pitch-black-forests-200: #bedcd1;
--color-pitch-black-forests-300: #9cc1b4;
--color-pitch-black-forests-400: #7fa999;
--color-pitch-black-forests-500: #619280;
--color-pitch-black-forests-600: #537c6c;
--color-pitch-black-forests-700: #426357;
--color-pitch-black-forests-800: #30493e;
--color-pitch-black-forests-900: #20322b;
--color-pitch-black-forests-950: #101e18;
}SCSS
$pitch-black-forests: #002f22;
$pitch-black-forests-rgb: 0, 47, 34;
$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);
}