最接近的命名颜色 · #1A871F
#1A871F
最接近的命名颜色: Asian Spice
#1A871F(rgb(26 135 31)、hsl(123 68% 32%)、oklch(0.545 0.168 143.3))最接近命名颜色 Asian Spice。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#1A871F
oklch(0.545 0.168 143.3)
颜色转换
- HEX
- #1a871f
- RGB
- rgb(26 135 31)
- HSL
- hsl(123 68% 32%)
- HWB
- hwb(123 10% 47%)
- OKLCH
- oklch(0.545 0.168 143.3)
- OKLab
- oklab(0.545 -0.135 0.1)
- CIE Lab
- lab(49.11 -45.9 43.55)
- LCH
- lch(49.11 63.27 136.5)
- CMYK
- cmyk(81% 0% 77% 47%)
浅色调 · 深色调 · 灰色调
浅色调
- 3B933B
- 549F52
- 6AAB68
- 80B77D
- 95C392
- AACFA8
- BFDBBD
- D4E7D3
- EAF3E9
深色调
- 157519
- 106314
- 0C510F
- 07410A
- 043106
- 022103
- 011301
- 000600
- 000100
灰色调
- 2D872E
- 3B873A
- 468645
- 50864E
- 598557
- 628460
- 6A8368
- 728270
- 798178
配色和谐
互补色 +180°
- 1A871F
Asian Spice
- 9D46A7
≈ Medium Purple
类似色 -30° +30°
- 1A871F
Asian Spice
- 717700
≈ Portuguese Green
- 00836A
≈ Viridis
三角配色 +120° +240°
- 1A871F
Asian Spice
- 3969D0
≈ God of Rain
- BE3B3E
≈ Bang
分裂互补色 +150° +210°
- 1A871F
Asian Spice
- 7756C7
≈ Fuchsia Blue
- B53B78
≈ Fuchsia Red
四角配色 +90° +180° +270°
- 1A871F
Asian Spice
- 007AA7
≈ Quiet Cove
- 9D46A7
≈ Medium Purple
- AC5400
≈ 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: #1a871f;
--asian-spice-rgb: 26 135 31;
--asian-spice-oklch: oklch(0.545 0.168 143.3);
}
.element {
color: var(--asian-spice);
background-color: hsl(123 68% 32%);
border-color: oklch(0.545 0.168 143.3);
}Tailwind CSS v4
@theme {
--color-asian-spice: #1a871f;
--color-asian-spice-50: #d8ffd8;
--color-asian-spice-100: #c5f8c6;
--color-asian-spice-200: #a6e8a8;
--color-asian-spice-300: #7dce81;
--color-asian-spice-400: #5ab758;
--color-asian-spice-500: #29a02d;
--color-asian-spice-600: #268828;
--color-asian-spice-700: #1e6d20;
--color-asian-spice-800: #195011;
--color-asian-spice-900: #10380b;
--color-asian-spice-950: #032201;
}SCSS
$asian-spice: #1a871f;
$asian-spice-rgb: 26, 135, 31;
$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);
}