最接近的命名颜色 · #178724
#178724
最接近的命名颜色: Asian Spice
#178724(rgb(23 135 36)、hsl(127 71% 31%)、oklch(0.544 0.166 144.1))最接近命名颜色 Asian Spice。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#178724
oklch(0.544 0.166 144.1)
颜色转换
- HEX
- #178724
- RGB
- rgb(23 135 36)
- HSL
- hsl(127 71% 31%)
- HWB
- hwb(127 9% 47%)
- OKLCH
- oklch(0.544 0.166 144.1)
- OKLab
- oklab(0.544 -0.134 0.097)
- CIE Lab
- lab(49.09 -45.98 41.66)
- LCH
- lch(49.09 62.04 137.8)
- CMYK
- cmyk(83% 0% 73% 47%)
浅色调 · 深色调 · 灰色调
浅色调
- 3A933E
- 539F54
- 6AAB6A
- 80B77F
- 95C394
- AACFA9
- BFDBBE
- D4E7D3
- EAF3E9
深色调
- 12751E
- 0E6318
- 0A5112
- 06410C
- 043107
- 022104
- 011302
- 000600
- 000100
灰色调
- 2C8731
- 3A863D
- 468647
- 508650
- 598558
- 628461
- 6A8369
- 718271
- 798178
配色和谐
互补色 +180°
- 178724
Asian Spice
- 9D47A5
≈ Medium Purple
类似色 -30° +30°
- 178724
Asian Spice
- 6F7700
≈ Portuguese Green
- 00836B
≈ Viridis
三角配色 +120° +240°
- 178724
Asian Spice
- 3D69CF
≈ God of Rain
- BD3C3D
≈ Dull Red
分裂互补色 +150° +210°
- 178724
Asian Spice
- 7856C5
≈ Fuchsia Blue
- B53C76
≈ Fuchsia Red
四角配色 +90° +180° +270°
- 178724
Asian Spice
- 0079A8
≈ Sixties Blue
- 9D47A5
≈ Medium Purple
- AB5500
≈ Tijolo
对比度与无障碍
Ag
AA白底
WCAG 4.63:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.52:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--asian-spice: #178724;
--asian-spice-rgb: 23 135 36;
--asian-spice-oklch: oklch(0.544 0.166 144.1);
}
.element {
color: var(--asian-spice);
background-color: hsl(127 71% 31%);
border-color: oklch(0.544 0.166 144.1);
}Tailwind CSS v4
@theme {
--color-asian-spice: #178724;
--color-asian-spice-50: #d8ffd9;
--color-asian-spice-100: #c5f7c7;
--color-asian-spice-200: #a6e8aa;
--color-asian-spice-300: #7cce83;
--color-asian-spice-400: #58b75b;
--color-asian-spice-500: #26a132;
--color-asian-spice-600: #24882c;
--color-asian-spice-700: #1d6d23;
--color-asian-spice-800: #185014;
--color-asian-spice-900: #10380d;
--color-asian-spice-950: #022201;
}SCSS
$asian-spice: #178724;
$asian-spice-rgb: 23, 135, 36;
$asian-spice-light: mix(#fff, $asian-spice, 20%);
$asian-spice-dark: mix(#000, $asian-spice, 20%);
.element {
color: $asian-spice;
box-shadow: 0 0 0 2px rgba($asian-spice, 0.35);
}