最接近的命名颜色 · #4A843F
#4A843F
最接近的命名颜色: Beanpole
#4A843F(rgb(74 132 63)、hsl(110 35% 38%)、oklch(0.557 0.118 140.5))最接近命名颜色 Beanpole。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#4A843F
oklch(0.557 0.118 140.5)
颜色转换
- HEX
- #4a843f
- RGB
- rgb(74 132 63)
- HSL
- hsl(110 35% 38%)
- HWB
- hwb(110 25% 48%)
- OKLCH
- oklch(0.557 0.118 140.5)
- OKLab
- oklab(0.557 -0.091 0.075)
- CIE Lab
- lab(49.94 -30.6 30.74)
- LCH
- lch(49.94 43.37 134.9)
- CMYK
- cmyk(44% 0% 52% 48%)
浅色调 · 深色调 · 灰色调
浅色调
- 5C9052
- 6E9C65
- 7FA878
- 91B48A
- A3C19D
- B5CDB0
- C7D9C4
- DAE6D7
- ECF2EB
深色调
- 3F7235
- 35602C
- 2A4F23
- 203F1B
- 172F12
- 0E200A
- 061204
- 020601
- 000100
灰色调
- 508447
- 56844E
- 5C8355
- 62835B
- 678362
- 6C8268
- 71826E
- 768174
- 7B817A
配色和谐
互补色 +180°
- 4A843F
Beanpole
- 925B9E
≈ Aster Violetta
类似色 -30° +30°
- 4A843F
Beanpole
- 78790D
≈ Mongolian Plateau
- 00886A
≈ Celtic Queen
三角配色 +120° +240°
- 4A843F
Beanpole
- 4A72B8
≈ Sinatra
- AE5455
≈ Bretzel Brown
分裂互补色 +150° +210°
- 4A843F
Beanpole
- 7466B3
≈ Ultra Violet
- A6547C
≈ Feminism
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 4.50:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.66:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.66:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--beanpole: #4a843f;
--beanpole-rgb: 74 132 63;
--beanpole-oklch: oklch(0.557 0.118 140.5);
}
.element {
color: var(--beanpole);
background-color: hsl(110 35% 38%);
border-color: oklch(0.557 0.118 140.5);
}Tailwind CSS v4
@theme {
--color-beanpole: #4a843f;
--color-beanpole-50: #e2fee0;
--color-beanpole-100: #d2f3cf;
--color-beanpole-200: #b8e2b4;
--color-beanpole-300: #94c78f;
--color-beanpole-400: #77b06c;
--color-beanpole-500: #57994b;
--color-beanpole-600: #4b8140;
--color-beanpole-700: #3b6833;
--color-beanpole-800: #2c4c22;
--color-beanpole-900: #1e3517;
--color-beanpole-950: #0e2008;
}SCSS
$beanpole: #4a843f;
$beanpole-rgb: 74, 132, 63;
$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);
}