最接近的命名颜色 · #2D8178
#2D8178
最接近的命名颜色: Emerald Whispers
#2D8178(rgb(45 129 120)、hsl(174 48% 34%)、oklch(0.551 0.081 185.2))最接近命名颜色 Emerald Whispers。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#2D8178
oklch(0.551 0.081 185.2)
颜色转换
- HEX
- #2d8178
- RGB
- rgb(45 129 120)
- HSL
- hsl(174 48% 34%)
- HWB
- hwb(174 18% 49%)
- OKLCH
- oklch(0.551 0.081 185.2)
- OKLab
- oklab(0.551 -0.081 -0.007)
- CIE Lab
- lab(48.83 -27.86 -2.96)
- LCH
- lch(48.83 28.01 186.1)
- CMYK
- cmyk(65% 0% 7% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 468D85
- 5C9991
- 71A69F
- 86B2AC
- 9ABFB9
- AECBC7
- C2D8D5
- D6E5E3
- EBF2F1
深色调
- 266F67
- 1F5E57
- 184E48
- 113E39
- 0B2E2A
- 061F1D
- 021210
- 010605
- 000101
灰色调
- 3A8179
- 44817A
- 4E817A
- 56817B
- 5E817C
- 65817D
- 6C817E
- 73817E
- 7A807F
配色和谐
互补色 +180°
- 2D8178
Emerald Whispers
- 9A5D6B
≈ Tropical Hibiscus
类似色 -30° +30°
- 2D8178
Emerald Whispers
- 48805D
≈ Leisure Green
- 2D7E8F
≈ Pagoda Blue
三角配色 +120° +240°
- 2D8178
Emerald Whispers
- 7D6598
≈ Clematis
- 92683C
≈ Centaur
分裂互补色 +150° +210°
- 2D8178
Emerald Whispers
- 8F5F84
≈ Antique Fuchsia
- 9B6051
≈ Copper Brown
四角配色 +90° +180° +270°
- 2D8178
Emerald Whispers
- 646EA1
≈ Kimberlite
- 9A5D6B
≈ Tropical Hibiscus
- 807136
≈ Mustard Magic
对比度与无障碍
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 {
--emerald-whispers: #2d8178;
--emerald-whispers-rgb: 45 129 120;
--emerald-whispers-oklch: oklch(0.551 0.081 185.2);
}
.element {
color: var(--emerald-whispers);
background-color: hsl(174 48% 34%);
border-color: oklch(0.551 0.081 185.2);
}Tailwind CSS v4
@theme {
--color-emerald-whispers: #2d8178;
--color-emerald-whispers-50: #dcfdf9;
--color-emerald-whispers-100: #cbf1ec;
--color-emerald-whispers-200: #aee0da;
--color-emerald-whispers-300: #87c5be;
--color-emerald-whispers-400: #63aea5;
--color-emerald-whispers-500: #3a988d;
--color-emerald-whispers-600: #338078;
--color-emerald-whispers-700: #286760;
--color-emerald-whispers-800: #1c4b45;
--color-emerald-whispers-900: #123430;
--color-emerald-whispers-950: #04201c;
}SCSS
$emerald-whispers: #2d8178;
$emerald-whispers-rgb: 45, 129, 120;
$emerald-whispers-light: mix(#fff, $emerald-whispers, 20%);
$emerald-whispers-dark: mix(#000, $emerald-whispers, 20%);
.element {
color: $emerald-whispers;
box-shadow: 0 0 0 2px rgba($emerald-whispers, 0.35);
}