最接近的命名颜色 · #2C8362
#2C8362
最接近的命名颜色: Shadows of Time
#2C8362(rgb(44 131 98)、hsl(157 50% 34%)、oklch(0.549 0.098 164.3))最接近命名颜色 Shadows of Time。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#2C8362
oklch(0.549 0.098 164.3)
颜色转换
- HEX
- #2c8362
- RGB
- rgb(44 131 98)
- HSL
- hsl(157 50% 34%)
- HWB
- hwb(157 17% 49%)
- OKLCH
- oklch(0.549 0.098 164.3)
- OKLab
- oklab(0.549 -0.094 0.027)
- CIE Lab
- lab(48.97 -33.32 9.97)
- LCH
- lch(48.97 34.78 163.3)
- CMYK
- cmyk(66% 0% 25% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 468F71
- 5C9B7F
- 71A78E
- 85B49E
- 99C0AD
- AECCBD
- C2D9CD
- D6E6DE
- EAF2EE
深色调
- 257154
- 1E6047
- 174F3A
- 113F2D
- 0A2F21
- 052016
- 02120B
- 010603
- 000100
灰色调
- 398365
- 448368
- 4D836B
- 56826E
- 5E8271
- 658274
- 6C8177
- 73817A
- 7A817D
配色和谐
互补色 +180°
- 2C8362
Shadows of Time
- 99597F
≈ Immortality
类似色 -30° +30°
- 2C8362
Shadows of Time
- 597E41
≈ Mangrove Leaf
- 008281
≈ Windows 95 Desktop
三角配色 +120° +240°
- 2C8362
Shadows of Time
- 6B69A8
≈ Inner Journey
- A05D3F
≈ Sepia Skin
分裂互补色 +150° +210°
- 2C8362
Shadows of Time
- 865F99
≈ Wisteria Purple
- A2585F
≈ Beef Jerky
四角配色 +90° +180° +270°
- 2C8362
Shadows of Time
- 4773A9
≈ Song of the Sea
- 99597F
≈ Immortality
- 936826
≈ Armageddon Dunes
对比度与无障碍
Ag
AA白底
WCAG 4.63:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.52:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--shadows-of-time: #2c8362;
--shadows-of-time-rgb: 44 131 98;
--shadows-of-time-oklch: oklch(0.549 0.098 164.3);
}
.element {
color: var(--shadows-of-time);
background-color: hsl(157 50% 34%);
border-color: oklch(0.549 0.098 164.3);
}Tailwind CSS v4
@theme {
--color-shadows-of-time: #2c8362;
--color-shadows-of-time-50: #dcffef;
--color-shadows-of-time-100: #caf3e1;
--color-shadows-of-time-200: #ade2cb;
--color-shadows-of-time-300: #86c8ac;
--color-shadows-of-time-400: #63b18f;
--color-shadows-of-time-500: #399a75;
--color-shadows-of-time-600: #328363;
--color-shadows-of-time-700: #28694f;
--color-shadows-of-time-800: #1d4d38;
--color-shadows-of-time-900: #133526;
--color-shadows-of-time-950: #042015;
}SCSS
$shadows-of-time: #2c8362;
$shadows-of-time-rgb: 44, 131, 98;
$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);
}