最接近的命名颜色 · #2C882B
#2C882B
最接近的命名颜色: Asian Spice
#2C882B(rgb(44 136 43)、hsl(119 52% 35%)、oklch(0.553 0.156 143))最接近命名颜色 Asian Spice。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#2C882B
oklch(0.553 0.156 143)
颜色转换
- HEX
- #2c882b
- RGB
- rgb(44 136 43)
- HSL
- hsl(119 52% 35%)
- HWB
- hwb(119 17% 47%)
- OKLCH
- oklch(0.553 0.156 143)
- OKLab
- oklab(0.553 -0.124 0.094)
- CIE Lab
- lab(49.93 -42.21 39.84)
- LCH
- lch(49.93 58.04 136.7)
- CMYK
- cmyk(68% 0% 68% 47%)
浅色调 · 深色调 · 灰色调
浅色调
- 469443
- 5CA058
- 71AC6D
- 85B882
- 99C496
- AECFAB
- C2DBBF
- D6E7D4
- EAF3EA
深色调
- 257524
- 1E631D
- 175216
- 114110
- 0A310A
- 052205
- 021302
- 010601
- 000100
灰色调
- 398837
- 448741
- 4D874A
- 568653
- 5D855B
- 658463
- 6C846A
- 738272
- 7A8179
配色和谐
互补色 +180°
- 2C882B
Asian Spice
- 9C4DA6
≈ Purpureus
类似色 -30° +30°
- 2C882B
Asian Spice
- 737900
≈ Portuguese Green
- 00866C
≈ Celtic Queen
三角配色 +120° +240°
- 2C882B
Asian Spice
- 3F6DCC
≈ Han Blue
- BC4445
≈ Snakebite
分裂互补色 +150° +210°
- 2C882B
Asian Spice
- 785CC4
≈ Fuchsia Blue
- B3437A
≈ Valentino
四角配色 +90° +180° +270°
- 2C882B
Asian Spice
- 007CAA
≈ Benitoite
- 9C4DA6
≈ Purpureus
- AF5600
≈ Tijolo
对比度与无障碍
Ag
AA白底
WCAG 4.50:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.66:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.66:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--asian-spice: #2c882b;
--asian-spice-rgb: 44 136 43;
--asian-spice-oklch: oklch(0.553 0.156 143);
}
.element {
color: var(--asian-spice);
background-color: hsl(119 52% 35%);
border-color: oklch(0.553 0.156 143);
}Tailwind CSS v4
@theme {
--color-asian-spice: #2c882b;
--color-asian-spice-50: #daffda;
--color-asian-spice-100: #c8f6c8;
--color-asian-spice-200: #aae6ab;
--color-asian-spice-300: #83cc85;
--color-asian-spice-400: #61b55e;
--color-asian-spice-500: #389f36;
--color-asian-spice-600: #31862f;
--color-asian-spice-700: #276c26;
--color-asian-spice-800: #1e4f16;
--color-asian-spice-900: #14370e;
--color-asian-spice-950: #052202;
}SCSS
$asian-spice: #2c882b;
$asian-spice-rgb: 44, 136, 43;
$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);
}