最接近的命名颜色 · #338378
#338378
最接近的命名颜色: Emerald Whispers
#338378(rgb(51 131 120)、hsl(172 44% 36%)、oklch(0.558 0.08 182.9))最接近命名颜色 Emerald Whispers。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#338378
oklch(0.558 0.08 182.9)
颜色转换
- HEX
- #338378
- RGB
- rgb(51 131 120)
- HSL
- hsl(172 44% 36%)
- HWB
- hwb(172 20% 49%)
- OKLCH
- oklch(0.558 0.08 182.9)
- OKLab
- oklab(0.558 -0.079 -0.004)
- CIE Lab
- lab(49.67 -27.53 -1.71)
- LCH
- lch(49.67 27.59 183.6)
- CMYK
- cmyk(61% 0% 8% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 4B8F85
- 609B91
- 74A79F
- 88B3AC
- 9CC0B9
- AFCCC7
- C3D9D5
- D7E5E3
- EBF2F1
深色调
- 2B7167
- 236057
- 1C4F48
- 143F39
- 0D2F2A
- 07201D
- 031210
- 010605
- 000101
灰色调
- 3E8379
- 48837A
- 51837A
- 58827B
- 60827C
- 67827D
- 6D817E
- 74817E
- 7A807F
配色和谐
互补色 +180°
- 338378
Emerald Whispers
- 9B606F
≈ Tropical Hibiscus
类似色 -30° +30°
- 338378
Emerald Whispers
- 4D815D
≈ Leisure Green
- 30808F
≈ Forget-Me-Not Blue
三角配色 +120° +240°
- 338378
Emerald Whispers
- 7D689A
≈ Clematis
- 956941
≈ Gilded Glamour
分裂互补色 +150° +210°
- 338378
Emerald Whispers
- 906288
≈ Hashita Purple
- 9D6255
≈ Tuscan Rooftops
四角配色 +90° +180° +270°
- 338378
Emerald Whispers
- 6471A3
≈ Kimberlite
- 9B606F
≈ Tropical Hibiscus
- 84733A
≈ Mustard Magic
对比度与无障碍
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: #338378;
--emerald-whispers-rgb: 51 131 120;
--emerald-whispers-oklch: oklch(0.558 0.08 182.9);
}
.element {
color: var(--emerald-whispers);
background-color: hsl(172 44% 36%);
border-color: oklch(0.558 0.08 182.9);
}Tailwind CSS v4
@theme {
--color-emerald-whispers: #338378;
--color-emerald-whispers-50: #ddfdf8;
--color-emerald-whispers-100: #cbf1eb;
--color-emerald-whispers-200: #afe0d8;
--color-emerald-whispers-300: #88c5bc;
--color-emerald-whispers-400: #65aea3;
--color-emerald-whispers-500: #3d978b;
--color-emerald-whispers-600: #368076;
--color-emerald-whispers-700: #2b675e;
--color-emerald-whispers-800: #1e4b44;
--color-emerald-whispers-900: #14342f;
--color-emerald-whispers-950: #05201b;
}SCSS
$emerald-whispers: #338378;
$emerald-whispers-rgb: 51, 131, 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);
}