最接近的命名颜色 · #003126
#003126
最接近的命名颜色: Pitch-Black Forests
#003126(rgb(0 49 38)、hsl(167 100% 10%)、oklch(0.279 0.054 172.9))最接近命名颜色 Pitch-Black Forests。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#003126
oklch(0.279 0.054 172.9)
颜色转换
- HEX
- #003126
- RGB
- rgb(0 49 38)
- HSL
- hsl(167 100% 10%)
- HWB
- hwb(167 0% 81%)
- OKLCH
- oklch(0.279 0.054 172.9)
- OKLab
- oklab(0.279 -0.053 0.007)
- CIE Lab
- lab(17.08 -18.89 2.4)
- LCH
- lch(17.08 19.04 172.8)
- CMYK
- cmyk(100% 0% 22% 81%)
浅色调 · 深色调 · 灰色调
浅色调
- 1C4338
- 34564C
- 4C6960
- 647D75
- 7C928A
- 95A7A1
- AFBCB7
- C9D2CF
- E4E8E7
深色调
- 002920
- 002219
- 001A13
- 00130D
- 000C08
- 000604
- 000302
- 000101
- 000000
灰色调
- 11392E
- 1F4037
- 2B483F
- 385048
- 435751
- 4F5F5A
- 5B6763
- 67706D
- 747876
配色和谐
互补色 +180°
- 003126
Pitch-Black Forests
- 3D1D2B
≈ Jasmin Beauty
类似色 -30° +30°
- 003126
Pitch-Black Forests
- 182F16
≈ Méi Hēi Coal
- 002F33
≈ Roof Tile Green
三角配色 +120° +240°
- 003126
Pitch-Black Forests
- 2A2341
≈ Midnight Velvet
- 3D200D
≈ Medium Roast
分裂互补色 +150° +210°
- 003126
Pitch-Black Forests
- 351F38
≈ Fat Tuesday
- 3F1D1C
≈ Warm Balaclavas Are Forever
四角配色 +90° +180° +270°
- 003126
Pitch-Black Forests
- 1A2843
≈ Eternal Darkness
- 3D1D2B
≈ Jasmin Beauty
- 352603
≈ Black Swan
对比度与无障碍
Ag
AAA白底
WCAG 14.31:1 · APCA Lc 101
Ag
Fail黑底
WCAG 1.46:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 14.31:1 (AAA) · APCA Lc 101
Contrast pairs
代码片段
CSS
:root {
--pitch-black-forests: #003126;
--pitch-black-forests-rgb: 0 49 38;
--pitch-black-forests-oklch: oklch(0.279 0.054 172.9);
}
.element {
color: var(--pitch-black-forests);
background-color: hsl(167 100% 10%);
border-color: oklch(0.279 0.054 172.9);
}Tailwind CSS v4
@theme {
--color-pitch-black-forests: #003126;
--color-pitch-black-forests-50: #e6fbf4;
--color-pitch-black-forests-100: #d6eee7;
--color-pitch-black-forests-200: #bedcd3;
--color-pitch-black-forests-300: #9cc1b6;
--color-pitch-black-forests-400: #7ea99b;
--color-pitch-black-forests-500: #609283;
--color-pitch-black-forests-600: #527c6f;
--color-pitch-black-forests-700: #416358;
--color-pitch-black-forests-800: #2f4940;
--color-pitch-black-forests-900: #20322c;
--color-pitch-black-forests-950: #0f1e19;
}SCSS
$pitch-black-forests: #003126;
$pitch-black-forests-rgb: 0, 49, 38;
$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);
}