最接近的命名颜色 · #1A8926
#1A8926
最接近的命名颜色: Asian Spice
#1A8926(rgb(26 137 38)、hsl(126 68% 32%)、oklch(0.551 0.166 144.1))最接近命名颜色 Asian Spice。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#1A8926
oklch(0.551 0.166 144.1)
颜色转换
- HEX
- #1a8926
- RGB
- rgb(26 137 38)
- HSL
- hsl(126 68% 32%)
- HWB
- hwb(126 10% 46%)
- OKLCH
- oklch(0.551 0.166 144.1)
- OKLab
- oklab(0.551 -0.135 0.097)
- CIE Lab
- lab(49.83 -46.06 41.65)
- LCH
- lch(49.83 62.1 137.9)
- CMYK
- cmyk(81% 0% 72% 46%)
浅色调 · 深色调 · 灰色调
浅色调
- 3C953F
- 54A156
- 6BAD6B
- 81B980
- 96C495
- ABD0AA
- C0DCBF
- D5E8D4
- EAF3E9
深色调
- 157620
- 106419
- 0C5313
- 07420D
- 043108
- 022204
- 011402
- 000701
- 000100
灰色调
- 2E8933
- 3B883E
- 478748
- 518751
- 5A8659
- 628561
- 6A8469
- 728371
- 798179
配色和谐
互补色 +180°
- 1A8926
Asian Spice
- 9F49A7
≈ Medium Purple
类似色 -30° +30°
- 1A8926
Asian Spice
- 717900
≈ Portuguese Green
- 00856D
≈ Viridis
三角配色 +120° +240°
- 1A8926
Asian Spice
- 3E6BD1
≈ Han Blue
- C03E3F
≈ Rubiate
分裂互补色 +150° +210°
- 1A8926
Asian Spice
- 7A58C7
≈ Fuchsia Blue
- B73E78
≈ Razzle Dazzle
四角配色 +90° +180° +270°
- 1A8926
Asian Spice
- 007BAB
≈ Benitoite
- 9F49A7
≈ Medium Purple
- AD5700
≈ Tijolo
对比度与无障碍
Ag
AA白底
WCAG 4.51: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 {
--asian-spice: #1a8926;
--asian-spice-rgb: 26 137 38;
--asian-spice-oklch: oklch(0.551 0.166 144.1);
}
.element {
color: var(--asian-spice);
background-color: hsl(126 68% 32%);
border-color: oklch(0.551 0.166 144.1);
}Tailwind CSS v4
@theme {
--color-asian-spice: #1a8926;
--color-asian-spice-50: #d7ffd9;
--color-asian-spice-100: #c5f8c7;
--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: #0f380c;
--color-asian-spice-950: #022201;
}SCSS
$asian-spice: #1a8926;
$asian-spice-rgb: 26, 137, 38;
$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);
}