最接近的命名颜色 · #677F2B
#677F2B
最接近的命名颜色: Enchanted Forest
#677F2B(rgb(103 127 43)、hsl(77 49% 33%)、oklch(0.56 0.114 123.7))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#677F2B
oklch(0.56 0.114 123.7)
颜色转换
- HEX
- #677f2b
- RGB
- rgb(103 127 43)
- HSL
- hsl(77 49% 33%)
- HWB
- hwb(77 17% 50%)
- OKLCH
- oklch(0.56 0.114 123.7)
- OKLab
- oklab(0.56 -0.063 0.095)
- CIE Lab
- lab(49.95 -18.8 40.94)
- LCH
- lch(49.95 45.05 114.7)
- CMYK
- cmyk(19% 0% 66% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 758B43
- 839858
- 92A56D
- A1B182
- B0BE96
- BFCBAB
- CFD8BF
- DFE5D4
- EFF2EA
深色调
- 596E24
- 4B5D1D
- 3D4C16
- 303C10
- 232D0A
- 171F05
- 0C1102
- 040601
- 000100
灰色调
- 697F37
- 6C8041
- 6E804A
- 718053
- 73805B
- 768063
- 78806A
- 7B8072
- 7D8079
配色和谐
互补色 +180°
- 677F2B
Enchanted Forest
- 8362AA
≈ Chive Blossom
类似色 -30° +30°
- 677F2B
Enchanted Forest
- 8B7204
≈ Vermin Brown
- 338754
≈ Imperial Green
三角配色 +120° +240°
- 677F2B
Enchanted Forest
- 2D7AB2
≈ Vermeer Blue
- AA556D
≈ Pink Parakeet
分裂互补色 +150° +210°
- 677F2B
Enchanted Forest
- 606EB7
≈ Gladiola Blue
- 9C5990
≈ Bermuda Onion
四角配色 +90° +180° +270°
- 677F2B
Enchanted Forest
- 008397
≈ Cruising
- 8362AA
≈ Chive Blossom
- AC5946
≈ Tibetan Orange
对比度与无障碍
Ag
AA白底
WCAG 4.51: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: #677f2b;
--enchanted-forest-rgb: 103 127 43;
--enchanted-forest-oklch: oklch(0.56 0.114 123.7);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(77 49% 33%);
border-color: oklch(0.56 0.114 123.7);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #677f2b;
--color-enchanted-forest-50: #edfcd9;
--color-enchanted-forest-100: #dfefc6;
--color-enchanted-forest-200: #c8dea9;
--color-enchanted-forest-300: #a9c282;
--color-enchanted-forest-400: #91aa5c;
--color-enchanted-forest-500: #779234;
--color-enchanted-forest-600: #657c2d;
--color-enchanted-forest-700: #516324;
--color-enchanted-forest-800: #3c4817;
--color-enchanted-forest-900: #29320e;
--color-enchanted-forest-950: #171e02;
}SCSS
$enchanted-forest: #677f2b;
$enchanted-forest-rgb: 103, 127, 43;
$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);
}