最接近的命名颜色 · #2D8822
#2D8822
最接近的命名颜色: Asian Spice
#2D8822(rgb(45 136 34)、hsl(114 60% 33%)、oklch(0.552 0.161 141.6))最接近命名颜色 Asian Spice。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#2D8822
oklch(0.552 0.161 141.6)
颜色转换
- HEX
- #2d8822
- RGB
- rgb(45 136 34)
- HSL
- hsl(114 60% 33%)
- HWB
- hwb(114 13% 47%)
- OKLCH
- oklch(0.552 0.161 141.6)
- OKLab
- oklab(0.552 -0.127 0.1)
- CIE Lab
- lab(49.89 -42.6 43.41)
- LCH
- lch(49.89 60.82 134.5)
- CMYK
- cmyk(67% 0% 75% 47%)
浅色调 · 深色调 · 灰色调
浅色调
- 46943D
- 5CA054
- 71AC69
- 85B87E
- 99C494
- AED0A9
- C2DBBE
- D6E7D3
- EAF3E9
深色调
- 26751C
- 1F6316
- 185211
- 11410B
- 0B3107
- 062203
- 021301
- 010600
- 000100
灰色调
- 3A8830
- 44873C
- 4D8746
- 56864F
- 5E8558
- 658561
- 6C8469
- 738371
- 7A8178
配色和谐
互补色 +180°
- 2D8822
Asian Spice
- 9C4CAA
≈ Purpureus
类似色 -30° +30°
- 2D8822
Asian Spice
- 757800
≈ Mongolian Plateau
- 00866A
≈ Celtic Queen
三角配色 +120° +240°
- 2D8822
Asian Spice
- 396DCF
≈ Han Blue
- BE4046
≈ Watermelon Red
分裂互补色 +150° +210°
- 2D8822
Asian Spice
- 765BC7
≈ Fuchsia Blue
- B4417D
≈ Razzle Dazzle
四角配色 +90° +180° +270°
- 2D8822
Asian Spice
- 007DA8
≈ Celadon Blue
- 9C4CAA
≈ Purpureus
- B15400
≈ 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: #2d8822;
--asian-spice-rgb: 45 136 34;
--asian-spice-oklch: oklch(0.552 0.161 141.6);
}
.element {
color: var(--asian-spice);
background-color: hsl(114 60% 33%);
border-color: oklch(0.552 0.161 141.6);
}Tailwind CSS v4
@theme {
--color-asian-spice: #2d8822;
--color-asian-spice-50: #daffd8;
--color-asian-spice-100: #c8f7c6;
--color-asian-spice-200: #abe7a8;
--color-asian-spice-300: #83cd81;
--color-asian-spice-400: #62b558;
--color-asian-spice-500: #399f2d;
--color-asian-spice-600: #328628;
--color-asian-spice-700: #286c20;
--color-asian-spice-800: #1f4f11;
--color-asian-spice-900: #15370b;
--color-asian-spice-950: #062201;
}SCSS
$asian-spice: #2d8822;
$asian-spice-rgb: 45, 136, 34;
$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);
}