最接近的命名颜色 · #658017
#658017
最接近的命名颜色: Enchanted Forest
#658017(rgb(101 128 23)、hsl(75 70% 30%)、oklch(0.559 0.129 123.8))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#658017
oklch(0.559 0.129 123.8)
颜色转换
- HEX
- #658017
- RGB
- rgb(101 128 23)
- HSL
- hsl(75 70% 30%)
- HWB
- hwb(75 9% 50%)
- OKLCH
- oklch(0.559 0.129 123.8)
- OKLab
- oklab(0.559 -0.072 0.107)
- CIE Lab
- lab(50 -21.02 48.37)
- LCH
- lch(50 52.74 113.5)
- CMYK
- cmyk(21% 0% 82% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 738C37
- 81994F
- 90A566
- 9FB27C
- AFBF91
- BECBA7
- CED8BD
- DEE5D3
- EEF2E9
深色调
- 576E12
- 495D0E
- 3C4D0A
- 2F3D06
- 222E04
- 171F02
- 0C1201
- 030600
- 000100
灰色调
- 68802A
- 6A8137
- 6D8142
- 70814D
- 728156
- 75815F
- 788168
- 7A8170
- 7D8078
配色和谐
互补色 +180°
- 658017
Enchanted Forest
- 855FB1
≈ Lusty Lavender
类似色 -30° +30°
- 658017
Enchanted Forest
- 8B7200
≈ Vermin Brown
- 20894F
≈ English Meadow
三角配色 +120° +240°
- 658017
Enchanted Forest
- 177ABA
≈ Deep Cerulean
- B04F6C
≈ Pink Parakeet
分裂互补色 +150° +210°
- 658017
Enchanted Forest
- 5D6CBF
≈ Bluish Purple Anemone
- A05493
≈ Purple Zergling
四角配色 +90° +180° +270°
- 658017
Enchanted Forest
- 008297
≈ Cruising
- 855FB1
≈ Lusty Lavender
- B3533F
≈ Burnt Brick
对比度与无障碍
Ag
AA白底
WCAG 4.51:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.65:1 · APCA Lc 30
最佳文字颜色: #000000
WCAG 4.65:1 (AA) · APCA Lc 30
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #658017;
--enchanted-forest-rgb: 101 128 23;
--enchanted-forest-oklch: oklch(0.559 0.129 123.8);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(75 70% 30%);
border-color: oklch(0.559 0.129 123.8);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #658017;
--color-enchanted-forest-50: #ecfcd5;
--color-enchanted-forest-100: #ddf0c2;
--color-enchanted-forest-200: #c7dfa2;
--color-enchanted-forest-300: #a7c479;
--color-enchanted-forest-400: #8fab50;
--color-enchanted-forest-500: #75941e;
--color-enchanted-forest-600: #637d1d;
--color-enchanted-forest-700: #4f6417;
--color-enchanted-forest-800: #3b490c;
--color-enchanted-forest-900: #293307;
--color-enchanted-forest-950: #171e00;
}SCSS
$enchanted-forest: #658017;
$enchanted-forest-rgb: 101, 128, 23;
$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);
}