最接近的命名颜色 · #2F852B
#2F852B
最接近的命名颜色: Asian Spice
#2F852B(rgb(47 133 43)、hsl(117 51% 35%)、oklch(0.545 0.151 142.5))最接近命名颜色 Asian Spice。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#2F852B
oklch(0.545 0.151 142.5)
颜色转换
- HEX
- #2f852b
- RGB
- rgb(47 133 43)
- HSL
- hsl(117 51% 35%)
- HWB
- hwb(117 17% 48%)
- OKLCH
- oklch(0.545 0.151 142.5)
- OKLab
- oklab(0.545 -0.12 0.092)
- CIE Lab
- lab(49 -40.51 38.89)
- LCH
- lch(49 56.16 136.2)
- CMYK
- cmyk(65% 0% 68% 48%)
浅色调 · 深色调 · 灰色调
浅色调
- 479143
- 5D9D58
- 71AA6D
- 86B681
- 9AC296
- AECEAA
- C2DABF
- D6E6D4
- EAF3E9
深色调
- 277324
- 20611D
- 195016
- 124010
- 0C300A
- 062105
- 031302
- 010601
- 000100
灰色调
- 3B8537
- 458541
- 4E854A
- 568452
- 5E845A
- 658362
- 6C836A
- 738271
- 7A8179
配色和谐
互补色 +180°
- 2F852B
Asian Spice
- 984DA3
≈ Purpureus
类似色 -30° +30°
- 2F852B
Asian Spice
- 727700
≈ Portuguese Green
- 00846A
≈ Bosphorus
三角配色 +120° +240°
- 2F852B
Asian Spice
- 3E6CC7
≈ Han Blue
- B84346
≈ Chinese Safflower
分裂互补色 +150° +210°
- 2F852B
Asian Spice
- 755BBF
≈ Fuchsia Blue
- AF4378
≈ Mystic Maroon
四角配色 +90° +180° +270°
- 2F852B
Asian Spice
- 007AA6
≈ Quiet Cove
- 984DA3
≈ Purpureus
- AD5400
≈ Tijolo
对比度与无障碍
Ag
AA白底
WCAG 4.65:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.51:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.65:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--asian-spice: #2f852b;
--asian-spice-rgb: 47 133 43;
--asian-spice-oklch: oklch(0.545 0.151 142.5);
}
.element {
color: var(--asian-spice);
background-color: hsl(117 51% 35%);
border-color: oklch(0.545 0.151 142.5);
}Tailwind CSS v4
@theme {
--color-asian-spice: #2f852b;
--color-asian-spice-50: #dcffdb;
--color-asian-spice-100: #caf6c9;
--color-asian-spice-200: #ace6ac;
--color-asian-spice-300: #85cc86;
--color-asian-spice-400: #65b45f;
--color-asian-spice-500: #3e9e39;
--color-asian-spice-600: #368632;
--color-asian-spice-700: #2b6b27;
--color-asian-spice-800: #214e18;
--color-asian-spice-900: #16370f;
--color-asian-spice-950: #072103;
}SCSS
$asian-spice: #2f852b;
$asian-spice-rgb: 47, 133, 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);
}