最接近的命名颜色 · #1B8720
#1B8720
最接近的命名颜色: Asian Spice
#1B8720(rgb(27 135 32)、hsl(123 67% 32%)、oklch(0.545 0.167 143.3))最接近命名颜色 Asian Spice。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#1B8720
oklch(0.545 0.167 143.3)
颜色转换
- HEX
- #1b8720
- RGB
- rgb(27 135 32)
- HSL
- hsl(123 67% 32%)
- HWB
- hwb(123 11% 47%)
- OKLCH
- oklch(0.545 0.167 143.3)
- OKLab
- oklab(0.545 -0.134 0.1)
- CIE Lab
- lab(49.13 -45.7 43.22)
- LCH
- lch(49.13 62.9 136.6)
- CMYK
- cmyk(80% 0% 76% 47%)
浅色调 · 深色调 · 灰色调
浅色调
- 3C933B
- 549F52
- 6BAB68
- 80B77D
- 95C393
- AACFA8
- BFDBBD
- D4E7D3
- EAF3E9
深色调
- 16751A
- 116315
- 0C510F
- 08410A
- 053106
- 022103
- 011301
- 000600
- 000100
灰色调
- 2E872F
- 3B863B
- 478645
- 51864F
- 5A8557
- 628460
- 6A8368
- 728270
- 798178
配色和谐
互补色 +180°
- 1B8720
Asian Spice
- 9D47A7
≈ Medium Purple
类似色 -30° +30°
- 1B8720
Asian Spice
- 717700
≈ Portuguese Green
- 00836B
≈ Viridis
三角配色 +120° +240°
- 1B8720
Asian Spice
- 3A69D0
≈ God of Rain
- BE3B3E
≈ Bang
分裂互补色 +150° +210°
- 1B8720
Asian Spice
- 7757C7
≈ Fuchsia Blue
- B53B78
≈ Fuchsia Red
四角配色 +90° +180° +270°
- 1B8720
Asian Spice
- 007AA7
≈ Quiet Cove
- 9D47A7
≈ Medium Purple
- AC5500
≈ 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: #1b8720;
--asian-spice-rgb: 27 135 32;
--asian-spice-oklch: oklch(0.545 0.167 143.3);
}
.element {
color: var(--asian-spice);
background-color: hsl(123 67% 32%);
border-color: oklch(0.545 0.167 143.3);
}Tailwind CSS v4
@theme {
--color-asian-spice: #1b8720;
--color-asian-spice-50: #d8ffd8;
--color-asian-spice-100: #c5f7c6;
--color-asian-spice-200: #a6e8a8;
--color-asian-spice-300: #7dce81;
--color-asian-spice-400: #5ab758;
--color-asian-spice-500: #2aa02e;
--color-asian-spice-600: #268829;
--color-asian-spice-700: #1f6d20;
--color-asian-spice-800: #195011;
--color-asian-spice-900: #10380b;
--color-asian-spice-950: #032201;
}SCSS
$asian-spice: #1b8720;
$asian-spice-rgb: 27, 135, 32;
$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);
}