最接近的命名颜色 · #238620
#238620
最接近的命名颜色: Asian Spice
#238620(rgb(35 134 32)、hsl(118 61% 33%)、oklch(0.544 0.164 142.6))最接近命名颜色 Asian Spice。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#238620
oklch(0.544 0.164 142.6)
颜色转换
- HEX
- #238620
- RGB
- rgb(35 134 32)
- HSL
- hsl(118 61% 33%)
- HWB
- hwb(118 13% 47%)
- OKLCH
- oklch(0.544 0.164 142.6)
- OKLab
- oklab(0.544 -0.13 0.1)
- CIE Lab
- lab(48.95 -44.09 43.11)
- LCH
- lch(48.95 61.66 135.6)
- CMYK
- cmyk(74% 0% 76% 47%)
浅色调 · 深色调 · 灰色调
浅色调
- 40923B
- 579E52
- 6DAA68
- 82B77D
- 97C393
- ABCFA8
- C0DBBD
- D5E7D3
- EAF3E9
深色调
- 1D741A
- 176215
- 11510F
- 0C400A
- 073006
- 042103
- 011301
- 000600
- 000100
灰色调
- 33862F
- 3F863A
- 498545
- 52854E
- 5B8457
- 638460
- 6B8368
- 728270
- 798178
配色和谐
互补色 +180°
- 238620
Asian Spice
- 9B48A6
≈ Medium Purple
类似色 -30° +30°
- 238620
Asian Spice
- 717600
≈ Spinach Soup
- 008369
≈ Bosphorus
三角配色 +120° +240°
- 238620
Asian Spice
- 396ACE
≈ Han Blue
- BC3C41
≈ Dull Red
分裂互补色 +150° +210°
- 238620
Asian Spice
- 7558C5
≈ Fuchsia Blue
- B33D79
≈ Fuchsia Red
四角配色 +90° +180° +270°
- 238620
Asian Spice
- 007AA6
≈ Quiet Cove
- 9B48A6
≈ Medium Purple
- AC5400
≈ Tijolo
对比度与无障碍
Ag
AA白底
WCAG 4.66:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.50:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.66:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--asian-spice: #238620;
--asian-spice-rgb: 35 134 32;
--asian-spice-oklch: oklch(0.544 0.164 142.6);
}
.element {
color: var(--asian-spice);
background-color: hsl(118 61% 33%);
border-color: oklch(0.544 0.164 142.6);
}Tailwind CSS v4
@theme {
--color-asian-spice: #238620;
--color-asian-spice-50: #d9ffd8;
--color-asian-spice-100: #c7f7c6;
--color-asian-spice-200: #a8e7a8;
--color-asian-spice-300: #80cd81;
--color-asian-spice-400: #5eb659;
--color-asian-spice-500: #32a02e;
--color-asian-spice-600: #2d8729;
--color-asian-spice-700: #246c21;
--color-asian-spice-800: #1c4f12;
--color-asian-spice-900: #13370b;
--color-asian-spice-950: #042201;
}SCSS
$asian-spice: #238620;
$asian-spice-rgb: 35, 134, 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);
}