最接近的命名颜色 · #408273
#408273
最接近的命名颜色: Emerald Whispers
#408273(rgb(64 130 115)、hsl(166 34% 38%)、oklch(0.559 0.072 176.8))最接近命名颜色 Emerald Whispers。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#408273
oklch(0.559 0.072 176.8)
颜色转换
- HEX
- #408273
- RGB
- rgb(64 130 115)
- HSL
- hsl(166 34% 38%)
- HWB
- hwb(166 25% 49%)
- OKLCH
- oklch(0.559 0.072 176.8)
- OKLab
- oklab(0.559 -0.072 0.004)
- CIE Lab
- lab(49.72 -25.02 1.33)
- LCH
- lch(49.72 25.05 177)
- CMYK
- cmyk(51% 0% 12% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 548E80
- 689A8D
- 7AA69B
- 8DB3A9
- A0BFB6
- B3CCC5
- C5D8D3
- D8E5E1
- ECF2F0
深色调
- 367063
- 2D5F54
- 244E45
- 1B3E36
- 132F28
- 0B201B
- 05120F
- 010605
- 000101
灰色调
- 488274
- 508276
- 578277
- 5E8278
- 648179
- 6A817B
- 70817C
- 75817D
- 7B807F
配色和谐
互补色 +180°
- 408273
Emerald Whispers
- 966275
≈ Forest Berry
类似色 -30° +30°
- 408273
Emerald Whispers
- 57805B
≈ Garden Grove
- 398089
≈ Sea Swimmer
三角配色 +120° +240°
- 408273
Emerald Whispers
- 786B9A
≈ Arabian Silk
- 956949
≈ Barcelona Brown
分裂互补色 +150° +210°
- 408273
Emerald Whispers
- 8B658A
≈ Sunshone Plum
- 9A635D
≈ Roulette
四角配色 +90° +180° +270°
- 408273
Emerald Whispers
- 61739F
≈ Blueberry Patch
- 966275
≈ Forest Berry
- 867140
≈ Siam Gold
对比度与无障碍
Ag
AA白底
WCAG 4.50: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: #408273;
--emerald-whispers-rgb: 64 130 115;
--emerald-whispers-oklch: oklch(0.559 0.072 176.8);
}
.element {
color: var(--emerald-whispers);
background-color: hsl(166 34% 38%);
border-color: oklch(0.559 0.072 176.8);
}Tailwind CSS v4
@theme {
--color-emerald-whispers: #408273;
--color-emerald-whispers-50: #e0fcf5;
--color-emerald-whispers-100: #cff0e8;
--color-emerald-whispers-200: #b4dfd5;
--color-emerald-whispers-300: #8fc4b8;
--color-emerald-whispers-400: #6fad9d;
--color-emerald-whispers-500: #4c9685;
--color-emerald-whispers-600: #417f71;
--color-emerald-whispers-700: #34665a;
--color-emerald-whispers-800: #254b41;
--color-emerald-whispers-900: #19342d;
--color-emerald-whispers-950: #091f1a;
}SCSS
$emerald-whispers: #408273;
$emerald-whispers-rgb: 64, 130, 115;
$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);
}