最接近的命名颜色 · #677F1F
#677F1F
最接近的命名颜色: Enchanted Forest
#677F1F(rgb(103 127 31)、hsl(75 61% 31%)、oklch(0.559 0.122 122.8))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#677F1F
oklch(0.559 0.122 122.8)
颜色转换
- HEX
- #677f1f
- RGB
- rgb(103 127 31)
- HSL
- hsl(75 61% 31%)
- HWB
- hwb(75 12% 50%)
- OKLCH
- oklch(0.559 0.122 122.8)
- OKLab
- oklab(0.559 -0.066 0.103)
- CIE Lab
- lab(49.88 -19.39 45.69)
- LCH
- lch(49.88 49.63 113)
- CMYK
- cmyk(19% 0% 76% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 758B3B
- 839852
- 92A568
- A0B17E
- B0BE93
- BFCBA8
- CFD8BE
- DFE5D3
- EFF2E9
深色调
- 596E19
- 4B5D14
- 3D4C0F
- 303C0A
- 232D06
- 171F03
- 0C1101
- 040600
- 000100
灰色调
- 697F2E
- 6C803A
- 6E8045
- 71804F
- 738058
- 768060
- 788068
- 7B8070
- 7D8078
配色和谐
互补色 +180°
- 677F1F
Enchanted Forest
- 8360AF
≈ Genestealer Purple
类似色 -30° +30°
- 677F1F
Enchanted Forest
- 8B7100
≈ Vermin Brown
- 2C8850
≈ Lucky Green
三角配色 +120° +240°
- 677F1F
Enchanted Forest
- 1F7BB5
≈ Blue Bazaar
- AD526D
≈ Pink Parakeet
分裂互补色 +150° +210°
- 677F1F
Enchanted Forest
- 5D6DBB
≈ Amparo Blue
- 9D5693
≈ Bermuda Onion
四角配色 +90° +180° +270°
- 677F1F
Enchanted Forest
- 008296
≈ Craftsman Blue
- 8360AF
≈ Genestealer Purple
- B05543
≈ Tibetan Orange
对比度与无障碍
Ag
AA白底
WCAG 4.53:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.63:1 · APCA Lc 30
最佳文字颜色: #000000
WCAG 4.63:1 (AA) · APCA Lc 30
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #677f1f;
--enchanted-forest-rgb: 103 127 31;
--enchanted-forest-oklch: oklch(0.559 0.122 122.8);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(75 61% 31%);
border-color: oklch(0.559 0.122 122.8);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #677f1f;
--color-enchanted-forest-50: #edfcd6;
--color-enchanted-forest-100: #def0c3;
--color-enchanted-forest-200: #c8dea5;
--color-enchanted-forest-300: #a9c37c;
--color-enchanted-forest-400: #91aa54;
--color-enchanted-forest-500: #779327;
--color-enchanted-forest-600: #657c23;
--color-enchanted-forest-700: #51631c;
--color-enchanted-forest-800: #3c4810;
--color-enchanted-forest-900: #29320a;
--color-enchanted-forest-950: #171e00;
}SCSS
$enchanted-forest: #677f1f;
$enchanted-forest-rgb: 103, 127, 31;
$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);
}