最接近的命名颜色 · #617E18
#617E18
最接近的命名颜色: Enchanted Forest
#617E18(rgb(97 126 24)、hsl(77 68% 29%)、oklch(0.551 0.128 124.9))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#617E18
oklch(0.551 0.128 124.9)
颜色转换
- HEX
- #617e18
- RGB
- rgb(97 126 24)
- HSL
- hsl(77 68% 29%)
- HWB
- hwb(77 9% 51%)
- OKLCH
- oklch(0.551 0.128 124.9)
- OKLab
- oklab(0.551 -0.073 0.105)
- CIE Lab
- lab(49.1 -21.74 47.14)
- LCH
- lch(49.1 51.92 114.8)
- CMYK
- cmyk(23% 0% 81% 51%)
浅色调 · 深色调 · 灰色调
浅色调
- 6F8B37
- 7E974F
- 8DA465
- 9DB17B
- ADBE91
- BDCBA7
- CDD8BC
- DDE5D2
- EEF2E9
深色调
- 536D13
- 465C0F
- 394C0A
- 2D3C07
- 212D04
- 151F02
- 0B1101
- 030500
- 000100
灰色调
- 647F2A
- 677F37
- 6A7F42
- 6D804C
- 708056
- 73805F
- 768067
- 7A8070
- 7D8078
配色和谐
互补色 +180°
- 617E18
Enchanted Forest
- 835CAD
≈ Genestealer Purple
类似色 -30° +30°
- 617E18
Enchanted Forest
- 877000
≈ Sunlit Kelp Green
- 19874F
≈ Pixel Nature
三角配色 +120° +240°
- 617E18
Enchanted Forest
- 1A77B7
≈ Americana
- AD4D68
≈ Bing Cherry Pie
分裂互补色 +150° +210°
- 617E18
Enchanted Forest
- 5D69BC
≈ Bluish Purple Anemone
- 9E528F
≈ Purplish
四角配色 +90° +180° +270°
- 617E18
Enchanted Forest
- 008095
≈ Craftsman Blue
- 835CAD
≈ Genestealer Purple
- B0523B
≈ Crimson Warrior
对比度与无障碍
Ag
AA白底
WCAG 4.66:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.50:1 · APCA Lc 29
最佳文字颜色: #FFFFFF
WCAG 4.66:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #617e18;
--enchanted-forest-rgb: 97 126 24;
--enchanted-forest-oklch: oklch(0.551 0.128 124.9);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(77 68% 29%);
border-color: oklch(0.551 0.128 124.9);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #617e18;
--color-enchanted-forest-50: #ebfdd5;
--color-enchanted-forest-100: #dcf0c3;
--color-enchanted-forest-200: #c6dfa4;
--color-enchanted-forest-300: #a6c47b;
--color-enchanted-forest-400: #8dab52;
--color-enchanted-forest-500: #739423;
--color-enchanted-forest-600: #627d20;
--color-enchanted-forest-700: #4e641a;
--color-enchanted-forest-800: #3a490e;
--color-enchanted-forest-900: #283309;
--color-enchanted-forest-950: #161e00;
}SCSS
$enchanted-forest: #617e18;
$enchanted-forest-rgb: 97, 126, 24;
$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);
}