最接近的命名颜色 · #1A8724
#1A8724
最接近的命名颜色: Asian Spice
#1A8724(rgb(26 135 36)、hsl(126 68% 32%)、oklch(0.545 0.165 143.9))最接近命名颜色 Asian Spice。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#1A8724
oklch(0.545 0.165 143.9)
颜色转换
- HEX
- #1a8724
- RGB
- rgb(26 135 36)
- HSL
- hsl(126 68% 32%)
- HWB
- hwb(126 10% 47%)
- OKLCH
- oklch(0.545 0.165 143.9)
- OKLab
- oklab(0.545 -0.133 0.097)
- CIE Lab
- lab(49.14 -45.59 41.73)
- LCH
- lch(49.14 61.8 137.5)
- CMYK
- cmyk(81% 0% 73% 47%)
浅色调 · 深色调 · 灰色调
浅色调
- 3B933E
- 549F54
- 6AAB6A
- 80B77F
- 95C394
- AACFA9
- BFDBBE
- D4E7D3
- EAF3E9
深色调
- 15751E
- 106318
- 0C5112
- 07410C
- 043107
- 022104
- 011302
- 000600
- 000100
灰色调
- 2D8731
- 3B863D
- 468647
- 508650
- 598558
- 628461
- 6A8369
- 728271
- 798178
配色和谐
互补色 +180°
- 1A8724
Asian Spice
- 9D47A5
≈ Medium Purple
类似色 -30° +30°
- 1A8724
Asian Spice
- 707700
≈ Portuguese Green
- 00836B
≈ Viridis
三角配色 +120° +240°
- 1A8724
Asian Spice
- 3C69CF
≈ God of Rain
- BD3D3E
≈ Dull Red
分裂互补色 +150° +210°
- 1A8724
Asian Spice
- 7857C5
≈ Fuchsia Blue
- B43C77
≈ Fuchsia Red
四角配色 +90° +180° +270°
- 1A8724
Asian Spice
- 007AA8
≈ Quiet Cove
- 9D47A5
≈ Medium Purple
- AB5500
≈ Tijolo
对比度与无障碍
Ag
AA白底
WCAG 4.63:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.53:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--asian-spice: #1a8724;
--asian-spice-rgb: 26 135 36;
--asian-spice-oklch: oklch(0.545 0.165 143.9);
}
.element {
color: var(--asian-spice);
background-color: hsl(126 68% 32%);
border-color: oklch(0.545 0.165 143.9);
}Tailwind CSS v4
@theme {
--color-asian-spice: #1a8724;
--color-asian-spice-50: #d8ffd9;
--color-asian-spice-100: #c5f7c7;
--color-asian-spice-200: #a6e8aa;
--color-asian-spice-300: #7dce83;
--color-asian-spice-400: #5ab75b;
--color-asian-spice-500: #29a032;
--color-asian-spice-600: #26882c;
--color-asian-spice-700: #1e6d23;
--color-asian-spice-800: #195014;
--color-asian-spice-900: #10380c;
--color-asian-spice-950: #032201;
}SCSS
$asian-spice: #1a8724;
$asian-spice-rgb: 26, 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);
}