最接近的命名颜色 · #2C8827
#2C8827
最接近的命名颜色: Asian Spice
#2C8827(rgb(44 136 39)、hsl(117 55% 34%)、oklch(0.552 0.159 142.4))最接近命名颜色 Asian Spice。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#2C8827
oklch(0.552 0.159 142.4)
颜色转换
- HEX
- #2c8827
- RGB
- rgb(44 136 39)
- HSL
- hsl(117 55% 34%)
- HWB
- hwb(117 15% 47%)
- OKLCH
- oklch(0.552 0.159 142.4)
- OKLab
- oklab(0.552 -0.126 0.097)
- CIE Lab
- lab(49.9 -42.5 41.46)
- LCH
- lch(49.9 59.38 135.7)
- CMYK
- cmyk(68% 0% 71% 47%)
浅色调 · 深色调 · 灰色调
浅色调
- 469440
- 5CA056
- 71AC6B
- 85B880
- 99C495
- ADCFAA
- C2DBBF
- D6E7D4
- EAF3E9
深色调
- 257520
- 1E631A
- 175214
- 11410E
- 0A3108
- 052204
- 021302
- 010601
- 000100
灰色调
- 398834
- 44873F
- 4D8748
- 558651
- 5D855A
- 658462
- 6C846A
- 738271
- 7A8179
配色和谐
互补色 +180°
- 2C8827
Asian Spice
- 9C4CA8
≈ Purpureus
类似色 -30° +30°
- 2C8827
Asian Spice
- 747900
≈ Portuguese Green
- 00866B
≈ Celtic Queen
三角配色 +120° +240°
- 2C8827
Asian Spice
- 3D6DCE
≈ Han Blue
- BD4245
≈ Watermelon Red
分裂互补色 +150° +210°
- 2C8827
Asian Spice
- 775CC5
≈ Fuchsia Blue
- B4427B
≈ Valentino
四角配色 +90° +180° +270°
- 2C8827
Asian Spice
- 007CA9
≈ Benitoite
- 9C4CA8
≈ Purpureus
- B05500
≈ Tijolo
对比度与无障碍
Ag
AA白底
WCAG 4.50: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: #2c8827;
--asian-spice-rgb: 44 136 39;
--asian-spice-oklch: oklch(0.552 0.159 142.4);
}
.element {
color: var(--asian-spice);
background-color: hsl(117 55% 34%);
border-color: oklch(0.552 0.159 142.4);
}Tailwind CSS v4
@theme {
--color-asian-spice: #2c8827;
--color-asian-spice-50: #daffd9;
--color-asian-spice-100: #c8f7c7;
--color-asian-spice-200: #aae7aa;
--color-asian-spice-300: #82cd83;
--color-asian-spice-400: #61b55b;
--color-asian-spice-500: #389f32;
--color-asian-spice-600: #31862c;
--color-asian-spice-700: #276c23;
--color-asian-spice-800: #1f4f14;
--color-asian-spice-900: #14370d;
--color-asian-spice-950: #052201;
}SCSS
$asian-spice: #2c8827;
$asian-spice-rgb: 44, 136, 39;
$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);
}