最接近的命名颜色 · #1D891F
#1D891F
最接近的命名颜色: Asian Spice
#1D891F(rgb(29 137 31)、hsl(121 65% 33%)、oklch(0.551 0.17 143))最接近命名颜色 Asian Spice。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#1D891F
oklch(0.551 0.17 143)
颜色转换
- HEX
- #1d891f
- RGB
- rgb(29 137 31)
- HSL
- hsl(121 65% 33%)
- HWB
- hwb(121 11% 46%)
- OKLCH
- oklch(0.551 0.17 143)
- OKLab
- oklab(0.551 -0.136 0.102)
- CIE Lab
- lab(49.85 -46.07 44.28)
- LCH
- lch(49.85 63.9 136.1)
- CMYK
- cmyk(79% 0% 77% 46%)
浅色调 · 深色调 · 灰色调
浅色调
- 3D953B
- 55A152
- 6CAD68
- 81B97E
- 96C493
- ABD0A8
- C0DCBE
- D5E8D3
- EAF3E9
深色调
- 187619
- 136414
- 0E530F
- 09420A
- 053106
- 032203
- 011401
- 000700
- 000100
灰色调
- 2F892E
- 3D883A
- 488745
- 51874F
- 5A8658
- 638560
- 6A8468
- 728370
- 798178
配色和谐
互补色 +180°
- 1D891F
Asian Spice
- 9F48AA
≈ Medium Purple
类似色 -30° +30°
- 1D891F
Asian Spice
- 737900
≈ Portuguese Green
- 00856C
≈ Viridis
三角配色 +120° +240°
- 1D891F
Asian Spice
- 3A6BD3
≈ Han Blue
- C13C40
≈ Rubiate
分裂互补色 +150° +210°
- 1D891F
Asian Spice
- 7858CA
≈ Fuchsia Blue
- B73C7A
≈ Fuchsia Red
四角配色 +90° +180° +270°
- 1D891F
Asian Spice
- 007CA9
≈ Benitoite
- 9F48AA
≈ Medium Purple
- AF5600
≈ 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: #1d891f;
--asian-spice-rgb: 29 137 31;
--asian-spice-oklch: oklch(0.551 0.17 143);
}
.element {
color: var(--asian-spice);
background-color: hsl(121 65% 33%);
border-color: oklch(0.551 0.17 143);
}Tailwind CSS v4
@theme {
--color-asian-spice: #1d891f;
--color-asian-spice-50: #d8ffd8;
--color-asian-spice-100: #c5f8c5;
--color-asian-spice-200: #a6e8a7;
--color-asian-spice-300: #7dce80;
--color-asian-spice-400: #5ab756;
--color-asian-spice-500: #29a12a;
--color-asian-spice-600: #268826;
--color-asian-spice-700: #1e6d1e;
--color-asian-spice-800: #195010;
--color-asian-spice-900: #10380a;
--color-asian-spice-950: #032200;
}SCSS
$asian-spice: #1d891f;
$asian-spice-rgb: 29, 137, 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);
}