最接近的命名颜色 · #4E8141
#4E8141
最接近的命名颜色: Beanpole
#4E8141(rgb(78 129 65)、hsl(108 33% 38%)、oklch(0.551 0.109 139.5))最接近命名颜色 Beanpole。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#4E8141
oklch(0.551 0.109 139.5)
颜色转换
- HEX
- #4e8141
- RGB
- rgb(78 129 65)
- HSL
- hsl(108 33% 38%)
- HWB
- hwb(108 25% 49%)
- OKLCH
- oklch(0.551 0.109 139.5)
- OKLab
- oklab(0.551 -0.083 0.071)
- CIE Lab
- lab(49.2 -27.74 28.87)
- LCH
- lch(49.2 40.04 133.9)
- CMYK
- cmyk(40% 0% 50% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 5F8D54
- 709A66
- 82A679
- 93B28B
- A4BF9E
- B6CCB1
- C8D8C4
- DAE5D7
- ECF2EB
深色调
- 436F37
- 385E2E
- 2D4E25
- 233E1C
- 192E13
- 0F1F0B
- 071205
- 020601
- 000100
灰色调
- 548148
- 59814F
- 5E8156
- 63815C
- 688162
- 6D8168
- 72816E
- 778174
- 7B807A
配色和谐
互补色 +180°
- 4E8141
Beanpole
- 8D5C9A
≈ Wisteria Purple
类似色 -30° +30°
- 4E8141
Beanpole
- 77771B
≈ Crocodile Eye
- 038667
≈ Spectral Green
三角配色 +120° +240°
- 4E8141
Beanpole
- 4A72B1
≈ Ramjet
- A85558
≈ Lingonberry Punch
分裂互补色 +150° +210°
- 4E8141
Beanpole
- 7166AD
≈ Genestealer Purple
- A0557B
≈ Feminism
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 4.62:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.54:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.62:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--beanpole: #4e8141;
--beanpole-rgb: 78 129 65;
--beanpole-oklch: oklch(0.551 0.109 139.5);
}
.element {
color: var(--beanpole);
background-color: hsl(108 33% 38%);
border-color: oklch(0.551 0.109 139.5);
}Tailwind CSS v4
@theme {
--color-beanpole: #4e8141;
--color-beanpole-50: #e5fee1;
--color-beanpole-100: #d4f2d0;
--color-beanpole-200: #bbe1b5;
--color-beanpole-300: #98c692;
--color-beanpole-400: #7cae6f;
--color-beanpole-500: #5e974f;
--color-beanpole-600: #508044;
--color-beanpole-700: #406736;
--color-beanpole-800: #2f4b24;
--color-beanpole-900: #203418;
--color-beanpole-950: #0f1f09;
}SCSS
$beanpole: #4e8141;
$beanpole-rgb: 78, 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);
}