最接近的命名颜色 · #298628
#298628
最接近的命名颜色: Asian Spice
#298628(rgb(41 134 40)、hsl(119 54% 34%)、oklch(0.546 0.157 142.9))最接近命名颜色 Asian Spice。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#298628
oklch(0.546 0.157 142.9)
颜色转换
- HEX
- #298628
- RGB
- rgb(41 134 40)
- HSL
- hsl(119 54% 34%)
- HWB
- hwb(119 16% 47%)
- OKLCH
- oklch(0.546 0.157 142.9)
- OKLab
- oklab(0.546 -0.125 0.094)
- CIE Lab
- lab(49.15 -42.4 40.25)
- LCH
- lch(49.15 58.46 136.5)
- CMYK
- cmyk(69% 0% 70% 47%)
浅色调 · 深色调 · 灰色调
浅色调
- 439240
- 5A9E56
- 6FAA6B
- 84B680
- 98C395
- ADCFAA
- C1DBBF
- D6E7D4
- EAF3E9
深色调
- 227421
- 1C621B
- 155115
- 0F400F
- 093009
- 052104
- 021302
- 010601
- 000100
灰色调
- 378634
- 42863F
- 4B8548
- 548551
- 5C845A
- 648462
- 6B8369
- 738271
- 798179
配色和谐
互补色 +180°
- 298628
Asian Spice
- 9A4BA4
≈ Purpureus
类似色 -30° +30°
- 298628
Asian Spice
- 727700
≈ Portuguese Green
- 00846A
≈ Bosphorus
三角配色 +120° +240°
- 298628
Asian Spice
- 3D6BCA
≈ Han Blue
- BA4143
≈ Dull Red
分裂互补色 +150° +210°
- 298628
Asian Spice
- 765AC2
≈ Fuchsia Blue
- B14178
≈ Mystic Maroon
四角配色 +90° +180° +270°
- 298628
Asian Spice
- 007AA7
≈ Quiet Cove
- 9A4BA4
≈ Purpureus
- AD5400
≈ 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: #298628;
--asian-spice-rgb: 41 134 40;
--asian-spice-oklch: oklch(0.546 0.157 142.9);
}
.element {
color: var(--asian-spice);
background-color: hsl(119 54% 34%);
border-color: oklch(0.546 0.157 142.9);
}Tailwind CSS v4
@theme {
--color-asian-spice: #298628;
--color-asian-spice-50: #daffda;
--color-asian-spice-100: #c8f6c8;
--color-asian-spice-200: #aae6ab;
--color-asian-spice-300: #82cd85;
--color-asian-spice-400: #61b55d;
--color-asian-spice-500: #379f35;
--color-asian-spice-600: #31862f;
--color-asian-spice-700: #276c25;
--color-asian-spice-800: #1e4f16;
--color-asian-spice-900: #14370e;
--color-asian-spice-950: #052202;
}SCSS
$asian-spice: #298628;
$asian-spice-rgb: 41, 134, 40;
$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);
}