最接近的命名颜色 · #617E1E
#617E1E
最接近的命名颜色: Enchanted Forest
#617E1E(rgb(97 126 30)、hsl(78 62% 31%)、oklch(0.552 0.125 125.2))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#617E1E
oklch(0.552 0.125 125.2)
颜色转换
- HEX
- #617e1e
- RGB
- rgb(97 126 30)
- HSL
- hsl(78 62% 31%)
- HWB
- hwb(78 12% 51%)
- OKLCH
- oklch(0.552 0.125 125.2)
- OKLab
- oklab(0.552 -0.072 0.102)
- CIE Lab
- lab(49.12 -21.51 45.16)
- LCH
- lch(49.12 50.02 115.5)
- CMYK
- cmyk(23% 0% 76% 51%)
浅色调 · 深色调 · 灰色调
浅色调
- 6F8B3A
- 7E9751
- 8DA467
- 9DB17D
- ADBE92
- BDCBA8
- CDD8BD
- DDE5D3
- EEF2E9
深色调
- 536D19
- 465C13
- 394C0E
- 2D3C09
- 212D05
- 151F03
- 0B1101
- 030500
- 000100
灰色调
- 647E2D
- 677F3A
- 6A7F44
- 6D804E
- 708057
- 738060
- 778068
- 7A8070
- 7D8078
配色和谐
互补色 +180°
- 617E1E
Enchanted Forest
- 835DAC
≈ Genestealer Purple
类似色 -30° +30°
- 617E1E
Enchanted Forest
- 877000
≈ Sunlit Kelp Green
- 1E8751
≈ Lucky Green
三角配色 +120° +240°
- 617E1E
Enchanted Forest
- 2177B6
≈ Americana
- AC4F68
≈ Gala Pink
分裂互补色 +150° +210°
- 617E1E
Enchanted Forest
- 5E6ABA
≈ Bluish Purple Anemone
- 9E538E
≈ Purple Zergling
四角配色 +90° +180° +270°
- 617E1E
Enchanted Forest
- 008096
≈ Craftsman Blue
- 835DAC
≈ Genestealer Purple
- AE533C
≈ Pico Earth
对比度与无障碍
Ag
AA白底
WCAG 4.65:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.51:1 · APCA Lc 29
最佳文字颜色: #FFFFFF
WCAG 4.65:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #617e1e;
--enchanted-forest-rgb: 97 126 30;
--enchanted-forest-oklch: oklch(0.552 0.125 125.2);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(78 62% 31%);
border-color: oklch(0.552 0.125 125.2);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #617e1e;
--color-enchanted-forest-50: #ebfcd6;
--color-enchanted-forest-100: #dcf0c4;
--color-enchanted-forest-200: #c6dfa5;
--color-enchanted-forest-300: #a6c47d;
--color-enchanted-forest-400: #8dab55;
--color-enchanted-forest-500: #739429;
--color-enchanted-forest-600: #617d25;
--color-enchanted-forest-700: #4e641d;
--color-enchanted-forest-800: #3a4911;
--color-enchanted-forest-900: #28330b;
--color-enchanted-forest-950: #161e01;
}SCSS
$enchanted-forest: #617e1e;
$enchanted-forest-rgb: 97, 126, 30;
$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);
}