最接近的命名颜色 · #1F836C
#1F836C
最接近的命名颜色: Shadows of Time
#1F836C(rgb(31 131 108)、hsl(166 62% 32%)、oklch(0.548 0.096 173.3))最接近命名颜色 Shadows of Time。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#1F836C
oklch(0.548 0.096 173.3)
颜色转换
- HEX
- #1f836c
- RGB
- rgb(31 131 108)
- HSL
- hsl(166 62% 32%)
- HWB
- hwb(166 12% 49%)
- OKLCH
- oklch(0.548 0.096 173.3)
- OKLab
- oklab(0.548 -0.095 0.011)
- CIE Lab
- lab(48.87 -33.59 4.01)
- LCH
- lch(48.87 33.83 173.2)
- CMYK
- cmyk(76% 0% 18% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 3E8F7A
- 569B88
- 6DA796
- 82B4A4
- 97C0B3
- ACCCC2
- C0D9D1
- D5E6E0
- EAF2EF
深色调
- 19715D
- 14604E
- 0F4F40
- 0A3F32
- 062F25
- 032019
- 01120D
- 000604
- 000100
灰色调
- 31836E
- 3E8370
- 488372
- 528274
- 5B8276
- 638278
- 6B817A
- 72817C
- 79817E
配色和谐
互补色 +180°
- 1F836C
Shadows of Time
- 9C5876
≈ Pink Tulip
类似色 -30° +30°
- 1F836C
Shadows of Time
- 4D7F4B
≈ Tarmac Green
- 008189
≈ Go Alpha
三角配色 +120° +240°
- 1F836C
Shadows of Time
- 7466A4
≈ Reign Over Me
- 9C6038
≈ Hampton Beach
分裂互补色 +150° +210°
- 1F836C
Shadows of Time
- 8C5D91
≈ Chakra
- A25956
≈ Cheek Red
四角配色 +90° +180° +270°
- 1F836C
Shadows of Time
- 5370A9
≈ Blue Chamber
- 9C5876
≈ Pink Tulip
- 8C6B25
≈ Sassy Olive
对比度与无障碍
Ag
AA白底
WCAG 4.64:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.52:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.64:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--shadows-of-time: #1f836c;
--shadows-of-time-rgb: 31 131 108;
--shadows-of-time-oklch: oklch(0.548 0.096 173.3);
}
.element {
color: var(--shadows-of-time);
background-color: hsl(166 62% 32%);
border-color: oklch(0.548 0.096 173.3);
}Tailwind CSS v4
@theme {
--color-shadows-of-time: #1f836c;
--color-shadows-of-time-50: #dafff4;
--color-shadows-of-time-100: #c8f3e6;
--color-shadows-of-time-200: #a9e2d2;
--color-shadows-of-time-300: #81c8b5;
--color-shadows-of-time-400: #5cb199;
--color-shadows-of-time-500: #2c9b80;
--color-shadows-of-time-600: #28836d;
--color-shadows-of-time-700: #206957;
--color-shadows-of-time-800: #174d3e;
--color-shadows-of-time-900: #0f362b;
--color-shadows-of-time-950: #022118;
}SCSS
$shadows-of-time: #1f836c;
$shadows-of-time-rgb: 31, 131, 108;
$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);
}