最接近的命名颜色 · #647F30
#647F30
最接近的命名颜色: Enchanted Forest
#647F30(rgb(100 127 48)、hsl(81 45% 34%)、oklch(0.558 0.111 125.7))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#647F30
oklch(0.558 0.111 125.7)
颜色转换
- HEX
- #647f30
- RGB
- rgb(100 127 48)
- HSL
- hsl(81 45% 34%)
- HWB
- hwb(81 19% 50%)
- OKLCH
- oklch(0.558 0.111 125.7)
- OKLab
- oklab(0.558 -0.065 0.09)
- CIE Lab
- lab(49.77 -19.75 38.42)
- LCH
- lch(49.77 43.2 117.2)
- CMYK
- cmyk(21% 0% 62% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 728B46
- 81985B
- 90A46F
- 9FB184
- AEBE98
- BECBAC
- CED8C0
- DEE5D5
- EEF2EA
深色调
- 566E28
- 485D21
- 3B4C1A
- 2E3C13
- 222D0C
- 161F06
- 0B1103
- 030601
- 000100
灰色调
- 677F3A
- 6A8044
- 6C804C
- 6F8055
- 72805C
- 758064
- 77806B
- 7A8072
- 7D8079
配色和谐
互补色 +180°
- 647F30
Enchanted Forest
- 8462A7
≈ Chive Blossom
类似色 -30° +30°
- 647F30
Enchanted Forest
- 88730E
≈ Vermin Brown
- 318757
≈ Argyle
三角配色 +120° +240°
- 647F30
Enchanted Forest
- 3379B0
≈ Vermeer Blue
- A9566A
≈ Splatter
分裂互补色 +150° +210°
- 647F30
Enchanted Forest
- 626DB4
≈ Loch Ness
- 9C598D
≈ Bermuda Onion
四角配色 +90° +180° +270°
- 647F30
Enchanted Forest
- 008298
≈ Cruising
- 8462A7
≈ Chive Blossom
- AA5A45
≈ Colourful Leaves
对比度与无障碍
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 {
--enchanted-forest: #647f30;
--enchanted-forest-rgb: 100 127 48;
--enchanted-forest-oklch: oklch(0.558 0.111 125.7);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(81 45% 34%);
border-color: oklch(0.558 0.111 125.7);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #647f30;
--color-enchanted-forest-50: #ecfcda;
--color-enchanted-forest-100: #ddf0c8;
--color-enchanted-forest-200: #c7deab;
--color-enchanted-forest-300: #a7c385;
--color-enchanted-forest-400: #8eaa60;
--color-enchanted-forest-500: #74933a;
--color-enchanted-forest-600: #637c32;
--color-enchanted-forest-700: #4f6328;
--color-enchanted-forest-800: #3b491a;
--color-enchanted-forest-900: #283211;
--color-enchanted-forest-950: #161e04;
}SCSS
$enchanted-forest: #647f30;
$enchanted-forest-rgb: 100, 127, 48;
$enchanted-forest-light: mix(#fff, $enchanted-forest, 20%);
$enchanted-forest-dark: mix(#000, $enchanted-forest, 20%);
.element {
color: $enchanted-forest;
box-shadow: 0 0 0 2px rgba($enchanted-forest, 0.35);
}