最接近的命名颜色 · #4A8345
#4A8345
最接近的命名颜色: Beanpole
#4A8345(rgb(74 131 69)、hsl(115 31% 39%)、oklch(0.555 0.11 142.3))最接近命名颜色 Beanpole。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#4A8345
oklch(0.555 0.11 142.3)
颜色转换
- HEX
- #4a8345
- RGB
- rgb(74 131 69)
- HSL
- hsl(115 31% 39%)
- HWB
- hwb(115 27% 49%)
- OKLCH
- oklch(0.555 0.11 142.3)
- OKLab
- oklab(0.555 -0.087 0.068)
- CIE Lab
- lab(49.68 -29.54 27.3)
- LCH
- lch(49.68 40.22 137.3)
- CMYK
- cmyk(44% 0% 47% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 5C8F57
- 6E9B69
- 7FA77B
- 91B48D
- A3C0A0
- B5CDB2
- C7D9C5
- DAE6D8
- ECF2EB
深色调
- 3F713B
- 356031
- 2A4F27
- 203F1E
- 172F15
- 0E200C
- 061205
- 020602
- 000100
灰色调
- 50834C
- 568352
- 5C8358
- 62825E
- 678264
- 6C826A
- 71826F
- 768175
- 7B817B
配色和谐
互补色 +180°
- 4A8345
Beanpole
- 915C99
≈ Aster Violetta
类似色 -30° +30°
- 4A8345
Beanpole
- 75791E
≈ Medusa’s Snakes
- 00876C
≈ Celtic Queen
三角配色 +120° +240°
- 4A8345
Beanpole
- 4F72B3
≈ Ramjet
- AA5655
≈ Bretzel Brown
分裂互补色 +150° +210°
- 4A8345
Beanpole
- 7566AE
≈ Genestealer Purple
- A35679
≈ Cranbrook
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 4.54:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.62:1 · APCA Lc 30
最佳文字颜色: #000000
WCAG 4.62:1 (AA) · APCA Lc 30
Contrast pairs
代码片段
CSS
:root {
--beanpole: #4a8345;
--beanpole-rgb: 74 131 69;
--beanpole-oklch: oklch(0.555 0.11 142.3);
}
.element {
color: var(--beanpole);
background-color: hsl(115 31% 39%);
border-color: oklch(0.555 0.11 142.3);
}Tailwind CSS v4
@theme {
--color-beanpole: #4a8345;
--color-beanpole-50: #e3fee2;
--color-beanpole-100: #d2f2d1;
--color-beanpole-200: #b8e1b7;
--color-beanpole-300: #95c794;
--color-beanpole-400: #78af72;
--color-beanpole-500: #589852;
--color-beanpole-600: #4b8146;
--color-beanpole-700: #3c6738;
--color-beanpole-800: #2c4c26;
--color-beanpole-900: #1e3519;
--color-beanpole-950: #0e200a;
}SCSS
$beanpole: #4a8345;
$beanpole-rgb: 74, 131, 69;
$beanpole-light: mix(#fff, $beanpole, 20%);
$beanpole-dark: mix(#000, $beanpole, 20%);
.element {
color: $beanpole;
box-shadow: 0 0 0 2px rgba($beanpole, 0.35);
}