最接近的命名颜色 · #2E8470
#2E8470
最接近的命名颜色: Emerald Whispers
#2E8470(rgb(46 132 112)、hsl(166 48% 35%)、oklch(0.556 0.088 174.6))最接近命名颜色 Emerald Whispers。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#2E8470
oklch(0.556 0.088 174.6)
颜色转换
- HEX
- #2e8470
- RGB
- rgb(46 132 112)
- HSL
- hsl(166 48% 35%)
- HWB
- hwb(166 18% 48%)
- OKLCH
- oklch(0.556 0.088 174.6)
- OKLab
- oklab(0.556 -0.087 0.008)
- CIE Lab
- lab(49.66 -30.65 2.88)
- LCH
- lch(49.66 30.78 174.6)
- CMYK
- cmyk(65% 0% 15% 48%)
浅色调 · 深色调 · 灰色调
浅色调
- 47907D
- 5D9C8B
- 72A899
- 86B4A7
- 9AC0B5
- AECDC3
- C2D9D2
- D6E6E1
- EBF2F0
深色调
- 277260
- 1F6051
- 184F43
- 123F35
- 0B2F27
- 06201A
- 02120E
- 010604
- 000101
灰色调
- 3B8472
- 458473
- 4E8375
- 578376
- 5E8378
- 66827A
- 6D827B
- 73817D
- 7A817E
配色和谐
互补色 +180°
- 2E8470
Emerald Whispers
- 9C5D76
≈ Rose Wine
类似色 -30° +30°
- 2E8470
Emerald Whispers
- 528152
≈ Rambling Green
- 1D828B
≈ Riviera Sea
三角配色 +120° +240°
- 2E8470
Emerald Whispers
- 7769A2
≈ Reign Over Me
- 9B653F
≈ Oiled up Kardashian
分裂互补色 +150° +210°
- 2E8470
Emerald Whispers
- 8D6190
≈ Hashita Purple
- A15E59
≈ Savannah Red
四角配色 +90° +180° +270°
- 2E8470
Emerald Whispers
- 5A72A7
≈ Dormitory
- 9C5D76
≈ Rose Wine
- 8B6F31
≈ Corn Harvest
对比度与无障碍
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: #2e8470;
--emerald-whispers-rgb: 46 132 112;
--emerald-whispers-oklch: oklch(0.556 0.088 174.6);
}
.element {
color: var(--emerald-whispers);
background-color: hsl(166 48% 35%);
border-color: oklch(0.556 0.088 174.6);
}Tailwind CSS v4
@theme {
--color-emerald-whispers: #2e8470;
--color-emerald-whispers-50: #dcfef4;
--color-emerald-whispers-100: #caf2e7;
--color-emerald-whispers-200: #ade1d3;
--color-emerald-whispers-300: #86c7b6;
--color-emerald-whispers-400: #62b09b;
--color-emerald-whispers-500: #399982;
--color-emerald-whispers-600: #32816e;
--color-emerald-whispers-700: #286858;
--color-emerald-whispers-800: #1c4c3f;
--color-emerald-whispers-900: #12352b;
--color-emerald-whispers-950: #042019;
}SCSS
$emerald-whispers: #2e8470;
$emerald-whispers-rgb: 46, 132, 112;
$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);
}