最接近的命名颜色 · #687F2D
#687F2D
最接近的命名颜色: Enchanted Forest
#687F2D(rgb(104 127 45)、hsl(77 48% 34%)、oklch(0.561 0.111 123.3))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#687F2D
oklch(0.561 0.111 123.3)
颜色转换
- HEX
- #687f2d
- RGB
- rgb(104 127 45)
- HSL
- hsl(77 48% 34%)
- HWB
- hwb(77 18% 50%)
- OKLCH
- oklch(0.561 0.111 123.3)
- OKLab
- oklab(0.561 -0.061 0.093)
- CIE Lab
- lab(50.04 -18.26 40.18)
- LCH
- lch(50.04 44.13 114.4)
- CMYK
- cmyk(18% 0% 65% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 768B44
- 84985A
- 92A46E
- A1B182
- B0BE97
- C0CBAB
- CFD8C0
- DFE5D5
- EFF2EA
深色调
- 596E26
- 4B5D1F
- 3E4C18
- 303C11
- 242D0B
- 181F06
- 0C1102
- 040601
- 000100
灰色调
- 6A7F38
- 6D8042
- 6F804B
- 718053
- 74805B
- 768063
- 79806B
- 7B8072
- 7E8079
配色和谐
互补色 +180°
- 687F2D
Enchanted Forest
- 8263AA
≈ Chive Blossom
类似色 -30° +30°
- 687F2D
Enchanted Forest
- 8B720C
≈ Vermin Brown
- 368755
≈ Imperial Green
三角配色 +120° +240°
- 687F2D
Enchanted Forest
- 2F7BB1
≈ Vermeer Blue
- A9566E
≈ Splatter
分裂互补色 +150° +210°
- 687F2D
Enchanted Forest
- 606FB6
≈ Gladiola Blue
- 9B5A90
≈ Bermuda Onion
四角配色 +90° +180° +270°
- 687F2D
Enchanted Forest
- 008397
≈ Cruising
- 8263AA
≈ Chive Blossom
- AC5A48
≈ Tibetan Orange
对比度与无障碍
Ag
AA白底
WCAG 4.50:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.66:1 · APCA Lc 30
最佳文字颜色: #000000
WCAG 4.66:1 (AA) · APCA Lc 30
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #687f2d;
--enchanted-forest-rgb: 104 127 45;
--enchanted-forest-oklch: oklch(0.561 0.111 123.3);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(77 48% 34%);
border-color: oklch(0.561 0.111 123.3);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #687f2d;
--color-enchanted-forest-50: #edfbd9;
--color-enchanted-forest-100: #dfefc7;
--color-enchanted-forest-200: #c9dda9;
--color-enchanted-forest-300: #aac283;
--color-enchanted-forest-400: #92a95d;
--color-enchanted-forest-500: #789236;
--color-enchanted-forest-600: #667b2f;
--color-enchanted-forest-700: #516325;
--color-enchanted-forest-800: #3c4818;
--color-enchanted-forest-900: #2a320f;
--color-enchanted-forest-950: #171e03;
}SCSS
$enchanted-forest: #687f2d;
$enchanted-forest-rgb: 104, 127, 45;
$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);
}