最接近的命名颜色 · #687F1F
#687F1F
最接近的命名颜色: Enchanted Forest
#687F1F(rgb(104 127 31)、hsl(74 61% 31%)、oklch(0.559 0.122 122.3))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#687F1F
oklch(0.559 0.122 122.3)
颜色转换
- HEX
- #687f1f
- RGB
- rgb(104 127 31)
- HSL
- hsl(74 61% 31%)
- HWB
- hwb(74 12% 50%)
- OKLCH
- oklch(0.559 0.122 122.3)
- OKLab
- oklab(0.559 -0.065 0.103)
- CIE Lab
- lab(49.95 -18.96 45.79)
- LCH
- lch(49.95 49.56 112.5)
- CMYK
- cmyk(18% 0% 76% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 768B3B
- 849852
- 92A568
- A1B17E
- B0BE93
- BFCBA8
- CFD8BE
- DFE5D3
- EFF2E9
深色调
- 596E19
- 4B5D14
- 3E4C0F
- 303C0A
- 242D06
- 181F03
- 0C1101
- 040600
- 000100
灰色调
- 6A7F2E
- 6D803A
- 6F8045
- 71804F
- 748058
- 768060
- 798068
- 7B8070
- 7D8078
配色和谐
互补色 +180°
- 687F1F
Enchanted Forest
- 8261AF
≈ Genestealer Purple
类似色 -30° +30°
- 687F1F
Enchanted Forest
- 8C7100
≈ Vermin Brown
- 2E8850
≈ Paradise of Greenery
三角配色 +120° +240°
- 687F1F
Enchanted Forest
- 1E7BB5
≈ Blue Bazaar
- AD526E
≈ Pink Parakeet
分裂互补色 +150° +210°
- 687F1F
Enchanted Forest
- 5C6EBB
≈ Gladiola Blue
- 9D5793
≈ Bermuda Onion
四角配色 +90° +180° +270°
- 687F1F
Enchanted Forest
- 008396
≈ Cruising
- 8261AF
≈ Genestealer Purple
- B05644
≈ 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: #687f1f;
--enchanted-forest-rgb: 104 127 31;
--enchanted-forest-oklch: oklch(0.559 0.122 122.3);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(74 61% 31%);
border-color: oklch(0.559 0.122 122.3);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #687f1f;
--color-enchanted-forest-50: #edfcd6;
--color-enchanted-forest-100: #dff0c3;
--color-enchanted-forest-200: #c9dea4;
--color-enchanted-forest-300: #aac27c;
--color-enchanted-forest-400: #92aa54;
--color-enchanted-forest-500: #789227;
--color-enchanted-forest-600: #667c23;
--color-enchanted-forest-700: #51631c;
--color-enchanted-forest-800: #3d4810;
--color-enchanted-forest-900: #2a320a;
--color-enchanted-forest-950: #171e00;
}SCSS
$enchanted-forest: #687f1f;
$enchanted-forest-rgb: 104, 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);
}