最接近的命名颜色 · #15871E
#15871E
最接近的命名颜色: Asian Spice
#15871E(rgb(21 135 30)、hsl(125 73% 31%)、oklch(0.544 0.17 143.5))最接近命名颜色 Asian Spice。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#15871E
oklch(0.544 0.17 143.5)
颜色转换
- HEX
- #15871e
- RGB
- rgb(21 135 30)
- HSL
- hsl(125 73% 31%)
- HWB
- hwb(125 8% 47%)
- OKLCH
- oklch(0.544 0.17 143.5)
- OKLab
- oklab(0.544 -0.137 0.101)
- CIE Lab
- lab(49.03 -46.6 43.79)
- LCH
- lch(49.03 63.94 136.8)
- CMYK
- cmyk(84% 0% 78% 47%)
浅色调 · 深色调 · 灰色调
浅色调
- 39933A
- 529F51
- 69AB67
- 7FB77D
- 94C392
- AACFA8
- BFDBBD
- D4E7D3
- E9F3E9
深色调
- 117519
- 0C6313
- 08510E
- 054109
- 033105
- 022103
- 011301
- 000600
- 000100
灰色调
- 2B872D
- 39873A
- 458644
- 4F864E
- 598557
- 618460
- 698368
- 718270
- 798178
配色和谐
互补色 +180°
- 15871E
Asian Spice
- 9D45A7
≈ Medium Purple
类似色 -30° +30°
- 15871E
Asian Spice
- 707700
≈ Portuguese Green
- 00836B
≈ Viridis
三角配色 +120° +240°
- 15871E
Asian Spice
- 3968D1
≈ God of Rain
- BF393D
≈ Crimson Glow
分裂互补色 +150° +210°
- 15871E
Asian Spice
- 7755C7
≈ Fuchsia Blue
- B53977
≈ Fuchsia Red
四角配色 +90° +180° +270°
- 15871E
Asian Spice
- 0079A7
≈ Sixties Blue
- 9D45A7
≈ Medium Purple
- AB5500
≈ Tijolo
对比度与无障碍
Ag
AA白底
WCAG 4.64:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.51:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.64:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--asian-spice: #15871e;
--asian-spice-rgb: 21 135 30;
--asian-spice-oklch: oklch(0.544 0.17 143.5);
}
.element {
color: var(--asian-spice);
background-color: hsl(125 73% 31%);
border-color: oklch(0.544 0.17 143.5);
}Tailwind CSS v4
@theme {
--color-asian-spice: #15871e;
--color-asian-spice-50: #d7ffd8;
--color-asian-spice-100: #c4f8c6;
--color-asian-spice-200: #a5e8a8;
--color-asian-spice-300: #7bce81;
--color-asian-spice-400: #58b757;
--color-asian-spice-500: #25a12c;
--color-asian-spice-600: #238828;
--color-asian-spice-700: #1c6d1f;
--color-asian-spice-800: #185011;
--color-asian-spice-900: #0f380a;
--color-asian-spice-950: #022200;
}SCSS
$asian-spice: #15871e;
$asian-spice-rgb: 21, 135, 30;
$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);
}