最接近的命名颜色 · #408166
#408166
最接近的命名颜色: Shadows of Time
#408166(rgb(64 129 102)、hsl(155 34% 38%)、oklch(0.552 0.08 164.5))最接近命名颜色 Shadows of Time。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#408166
oklch(0.552 0.08 164.5)
颜色转换
- HEX
- #408166
- RGB
- rgb(64 129 102)
- HSL
- hsl(155 34% 38%)
- HWB
- hwb(155 25% 49%)
- OKLCH
- oklch(0.552 0.08 164.5)
- OKLab
- oklab(0.552 -0.077 0.021)
- CIE Lab
- lab(49.11 -26.98 7.99)
- LCH
- lch(49.11 28.14 163.5)
- CMYK
- cmyk(50% 0% 21% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 548D74
- 679983
- 7AA691
- 8DB2A0
- 9FBFB0
- B2CBBF
- C5D8CF
- D8E5DF
- ECF2EF
深色调
- 366F58
- 2D5E4A
- 244E3C
- 1B3E2F
- 132E23
- 0B1F17
- 05120C
- 010604
- 000100
灰色调
- 488169
- 50816B
- 57816E
- 5D8170
- 648173
- 6A8176
- 6F8178
- 75817B
- 7B807D
配色和谐
互补色 +180°
- 408166
Shadows of Time
- 945F7D
≈ Immortality
类似色 -30° +30°
- 408166
Shadows of Time
- 5E7D4C
≈ Homoeopathic
- 2B8180
≈ Nero’s Green
三角配色 +120° +240°
- 408166
Shadows of Time
- 6D6C9F
≈ Dusted Peri
- 99634B
≈ Tuscan Rooftops
分裂互补色 +150° +210°
- 408166
Shadows of Time
- 846493
≈ Dark Lavender
- 9B5E63
≈ Abra Cadabra
四角配色 +90° +180° +270°
- 408166
Shadows of Time
- 5174A0
≈ Secrecy
- 945F7D
≈ Immortality
- 8E6B3A
≈ Carmel Woods
对比度与无障碍
Ag
AA白底
WCAG 4.61:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.54:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.61:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--shadows-of-time: #408166;
--shadows-of-time-rgb: 64 129 102;
--shadows-of-time-oklch: oklch(0.552 0.08 164.5);
}
.element {
color: var(--shadows-of-time);
background-color: hsl(155 34% 38%);
border-color: oklch(0.552 0.08 164.5);
}Tailwind CSS v4
@theme {
--color-shadows-of-time: #408166;
--color-shadows-of-time-50: #e1fdf0;
--color-shadows-of-time-100: #d0f1e2;
--color-shadows-of-time-200: #b5e0cd;
--color-shadows-of-time-300: #90c5ae;
--color-shadows-of-time-400: #70ae92;
--color-shadows-of-time-500: #4e9778;
--color-shadows-of-time-600: #438066;
--color-shadows-of-time-700: #356651;
--color-shadows-of-time-800: #264b3a;
--color-shadows-of-time-900: #1a3428;
--color-shadows-of-time-950: #0a1f16;
}SCSS
$shadows-of-time: #408166;
$shadows-of-time-rgb: 64, 129, 102;
$shadows-of-time-light: mix(#fff, $shadows-of-time, 20%);
$shadows-of-time-dark: mix(#000, $shadows-of-time, 20%);
.element {
color: $shadows-of-time;
box-shadow: 0 0 0 2px rgba($shadows-of-time, 0.35);
}