最接近的命名颜色 · #4D8141
#4D8141
最接近的命名颜色: Beanpole
#4D8141(rgb(77 129 65)、hsl(109 33% 38%)、oklch(0.551 0.11 139.9))最接近命名颜色 Beanpole。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#4D8141
oklch(0.551 0.11 139.9)
颜色转换
- HEX
- #4d8141
- RGB
- rgb(77 129 65)
- HSL
- hsl(109 33% 38%)
- HWB
- hwb(109 25% 49%)
- OKLCH
- oklch(0.551 0.11 139.9)
- OKLab
- oklab(0.551 -0.084 0.071)
- CIE Lab
- lab(49.14 -28.09 28.79)
- LCH
- lch(49.14 40.22 134.3)
- CMYK
- cmyk(40% 0% 50% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 5E8D54
- 709A66
- 81A679
- 92B28B
- A4BF9E
- B6CCB1
- C8D8C4
- DAE5D7
- ECF2EB
深色调
- 426F37
- 375E2E
- 2C4E25
- 223E1C
- 182E13
- 0F1F0B
- 071205
- 020601
- 000100
灰色调
- 538148
- 58814F
- 5E8156
- 63815C
- 688162
- 6D8168
- 72816E
- 778174
- 7B807A
配色和谐
互补色 +180°
- 4D8141
Beanpole
- 8E5B99
≈ Wisteria Purple
类似色 -30° +30°
- 4D8141
Beanpole
- 76771B
≈ Medusa’s Snakes
- 008668
≈ Spectral Green
三角配色 +120° +240°
- 4D8141
Beanpole
- 4A71B1
≈ Croquet Blue
- A85557
≈ Lingonberry Punch
分裂互补色 +150° +210°
- 4D8141
Beanpole
- 7165AD
≈ Genestealer Purple
- A0557B
≈ Feminism
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 4.63:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.53:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--beanpole: #4d8141;
--beanpole-rgb: 77 129 65;
--beanpole-oklch: oklch(0.551 0.11 139.9);
}
.element {
color: var(--beanpole);
background-color: hsl(109 33% 38%);
border-color: oklch(0.551 0.11 139.9);
}Tailwind CSS v4
@theme {
--color-beanpole: #4d8141;
--color-beanpole-50: #e4fee1;
--color-beanpole-100: #d4f2d0;
--color-beanpole-200: #bae1b5;
--color-beanpole-300: #98c692;
--color-beanpole-400: #7bae70;
--color-beanpole-500: #5d984f;
--color-beanpole-600: #4f8044;
--color-beanpole-700: #3f6736;
--color-beanpole-800: #2f4b24;
--color-beanpole-900: #203418;
--color-beanpole-950: #0f2009;
}SCSS
$beanpole: #4d8141;
$beanpole-rgb: 77, 129, 65;
$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);
}