最接近的命名颜色 · #30846F
#30846F
最接近的命名颜色: Emerald Whispers
#30846F(rgb(48 132 111)、hsl(165 47% 35%)、oklch(0.557 0.087 173.5))最接近命名颜色 Emerald Whispers。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#30846F
oklch(0.557 0.087 173.5)
颜色转换
- HEX
- #30846f
- RGB
- rgb(48 132 111)
- HSL
- hsl(165 47% 35%)
- HWB
- hwb(165 19% 48%)
- OKLCH
- oklch(0.557 0.087 173.5)
- OKLab
- oklab(0.557 -0.087 0.01)
- CIE Lab
- lab(49.69 -30.45 3.52)
- LCH
- lch(49.69 30.65 173.4)
- CMYK
- cmyk(64% 0% 16% 48%)
浅色调 · 深色调 · 灰色调
浅色调
- 49907C
- 5E9C8A
- 73A898
- 87B4A6
- 9BC0B4
- AFCDC3
- C3D9D2
- D7E6E1
- EBF2F0
深色调
- 287260
- 216051
- 1A4F42
- 133F34
- 0C2F27
- 06201A
- 03120E
- 010604
- 000101
灰色调
- 3C8471
- 468472
- 4F8374
- 578376
- 5F8377
- 668279
- 6D827B
- 74817D
- 7A817E
配色和谐
互补色 +180°
- 30846F
Emerald Whispers
- 9B5D77
≈ Rose Wine
类似色 -30° +30°
- 30846F
Emerald Whispers
- 538152
≈ Rambling Green
- 1E828A
≈ Riviera Sea
三角配色 +120° +240°
- 30846F
Emerald Whispers
- 7669A2
≈ Reign Over Me
- 9B6540
≈ Oiled up Kardashian
分裂互补色 +150° +210°
- 30846F
Emerald Whispers
- 8C6291
≈ Hashita Purple
- A05E5B
≈ Savannah Red
四角配色 +90° +180° +270°
- 30846F
Emerald Whispers
- 5973A7
≈ Blue Chamber
- 9B5D77
≈ Rose Wine
- 8C6F32
≈ Marshy Green
对比度与无障碍
Ag
AA白底
WCAG 4.51:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.65:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.65:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--emerald-whispers: #30846f;
--emerald-whispers-rgb: 48 132 111;
--emerald-whispers-oklch: oklch(0.557 0.087 173.5);
}
.element {
color: var(--emerald-whispers);
background-color: hsl(165 47% 35%);
border-color: oklch(0.557 0.087 173.5);
}Tailwind CSS v4
@theme {
--color-emerald-whispers: #30846f;
--color-emerald-whispers-50: #dcfef4;
--color-emerald-whispers-100: #cbf2e6;
--color-emerald-whispers-200: #aee1d2;
--color-emerald-whispers-300: #87c6b5;
--color-emerald-whispers-400: #63af9a;
--color-emerald-whispers-500: #3b9981;
--color-emerald-whispers-600: #33816d;
--color-emerald-whispers-700: #296857;
--color-emerald-whispers-800: #1d4c3f;
--color-emerald-whispers-900: #13352b;
--color-emerald-whispers-950: #052018;
}SCSS
$emerald-whispers: #30846f;
$emerald-whispers-rgb: 48, 132, 111;
$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);
}