最接近的命名颜色 · #677F26
#677F26
最接近的命名颜色: Enchanted Forest
#677F26(rgb(103 127 38)、hsl(76 54% 32%)、oklch(0.559 0.118 123.3))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#677F26
oklch(0.559 0.118 123.3)
颜色转换
- HEX
- #677f26
- RGB
- rgb(103 127 38)
- HSL
- hsl(76 54% 32%)
- HWB
- hwb(76 15% 50%)
- OKLCH
- oklch(0.559 0.118 123.3)
- OKLab
- oklab(0.559 -0.065 0.098)
- CIE Lab
- lab(49.92 -19.07 43.03)
- LCH
- lch(49.92 47.06 113.9)
- CMYK
- cmyk(19% 0% 70% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 758B3F
- 839856
- 92A56B
- A1B180
- B0BE95
- BFCBAA
- CFD8BF
- DFE5D4
- EFF2E9
深色调
- 596E20
- 4B5D19
- 3D4C13
- 303C0D
- 232D08
- 171F04
- 0C1102
- 040601
- 000100
灰色调
- 697F33
- 6C803E
- 6E8048
- 718051
- 738059
- 768062
- 788069
- 7B8071
- 7D8079
配色和谐
互补色 +180°
- 677F26
Enchanted Forest
- 8361AC
≈ Genestealer Purple
类似色 -30° +30°
- 677F26
Enchanted Forest
- 8B7200
≈ Vermin Brown
- 308852
≈ Lake Green
三角配色 +120° +240°
- 677F26
Enchanted Forest
- 277AB3
≈ Vermeer Blue
- AB546D
≈ Pink Parakeet
分裂互补色 +150° +210°
- 677F26
Enchanted Forest
- 5E6EB9
≈ Gladiola Blue
- 9C5891
≈ Bermuda Onion
四角配色 +90° +180° +270°
- 677F26
Enchanted Forest
- 008397
≈ Cruising
- 8361AC
≈ Genestealer Purple
- AE5745
≈ Tibetan Orange
对比度与无障碍
Ag
AA白底
WCAG 4.52:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.64:1 · APCA Lc 30
最佳文字颜色: #000000
WCAG 4.64:1 (AA) · APCA Lc 30
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #677f26;
--enchanted-forest-rgb: 103 127 38;
--enchanted-forest-oklch: oklch(0.559 0.118 123.3);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(76 54% 32%);
border-color: oklch(0.559 0.118 123.3);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #677f26;
--color-enchanted-forest-50: #edfcd7;
--color-enchanted-forest-100: #deefc5;
--color-enchanted-forest-200: #c8dea7;
--color-enchanted-forest-300: #a9c27f;
--color-enchanted-forest-400: #91aa58;
--color-enchanted-forest-500: #77922e;
--color-enchanted-forest-600: #657c29;
--color-enchanted-forest-700: #516321;
--color-enchanted-forest-800: #3c4814;
--color-enchanted-forest-900: #29320d;
--color-enchanted-forest-950: #171e01;
}SCSS
$enchanted-forest: #677f26;
$enchanted-forest-rgb: 103, 127, 38;
$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);
}