最接近的命名颜色 · #338172
#338172
最接近的命名颜色: Emerald Whispers
#338172(rgb(51 129 114)、hsl(168 43% 35%)、oklch(0.551 0.08 178.4))最接近命名颜色 Emerald Whispers。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#338172
oklch(0.551 0.08 178.4)
颜色转换
- HEX
- #338172
- RGB
- rgb(51 129 114)
- HSL
- hsl(168 43% 35%)
- HWB
- hwb(168 20% 49%)
- OKLCH
- oklch(0.551 0.08 178.4)
- OKLab
- oklab(0.551 -0.08 0.002)
- CIE Lab
- lab(48.88 -27.91 0.63)
- LCH
- lch(48.88 27.91 178.7)
- CMYK
- cmyk(60% 0% 12% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 4A8D7F
- 60998C
- 74A69A
- 88B2A8
- 9BBFB6
- AFCBC4
- C3D8D3
- D7E5E1
- EBF2F0
深色调
- 2B6F62
- 235E53
- 1C4E44
- 143E36
- 0D2E28
- 071F1B
- 03120E
- 010604
- 000101
灰色调
- 3E8173
- 488175
- 508176
- 588178
- 5F8179
- 66817A
- 6D817C
- 74817D
- 7A807F
配色和谐
互补色 +180°
- 338172
Emerald Whispers
- 985D71
≈ Glitz and Glamour
类似色 -30° +30°
- 338172
Emerald Whispers
- 507F57
≈ Rambling Green
- 2B7F8A
≈ Sea Swimmer
三角配色 +120° +240°
- 338172
Emerald Whispers
- 78679A
≈ Purple Paradise
- 956641
≈ Antiquarian Brown
分裂互补色 +150° +210°
- 338172
Emerald Whispers
- 8B6189
≈ Hashita Purple
- 9B5F57
≈ Rhode Island Red
四角配色 +90° +180° +270°
- 338172
Emerald Whispers
- 5E70A1
≈ Splendour and Pride
- 985D71
≈ Glitz and Glamour
- 856F37
≈ 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: #338172;
--emerald-whispers-rgb: 51 129 114;
--emerald-whispers-oklch: oklch(0.551 0.08 178.4);
}
.element {
color: var(--emerald-whispers);
background-color: hsl(168 43% 35%);
border-color: oklch(0.551 0.08 178.4);
}Tailwind CSS v4
@theme {
--color-emerald-whispers: #338172;
--color-emerald-whispers-50: #defdf6;
--color-emerald-whispers-100: #ccf1e9;
--color-emerald-whispers-200: #b0e0d6;
--color-emerald-whispers-300: #8ac5b9;
--color-emerald-whispers-400: #67ae9f;
--color-emerald-whispers-500: #409886;
--color-emerald-whispers-600: #388072;
--color-emerald-whispers-700: #2c675b;
--color-emerald-whispers-800: #1f4b41;
--color-emerald-whispers-900: #15342d;
--color-emerald-whispers-950: #06201a;
}SCSS
$emerald-whispers: #338172;
$emerald-whispers-rgb: 51, 129, 114;
$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);
}