最接近的命名颜色 · #677D26
#677D26
最接近的命名颜色: Enchanted Forest
#677D26(rgb(103 125 38)、hsl(75 53% 32%)、oklch(0.554 0.115 122.5))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#677D26
oklch(0.554 0.115 122.5)
颜色转换
- HEX
- #677d26
- RGB
- rgb(103 125 38)
- HSL
- hsl(75 53% 32%)
- HWB
- hwb(75 15% 51%)
- OKLCH
- oklch(0.554 0.115 122.5)
- OKLab
- oklab(0.554 -0.062 0.097)
- CIE Lab
- lab(49.3 -18.1 42.41)
- LCH
- lch(49.3 46.11 113.1)
- CMYK
- cmyk(18% 0% 70% 51%)
浅色调 · 深色调 · 灰色调
浅色调
- 758A3F
- 839655
- 92A36B
- A0B080
- B0BD94
- BFCAA9
- CFD7BE
- DFE4D4
- EFF2E9
深色调
- 596C20
- 4B5B19
- 3D4B13
- 303B0D
- 232C08
- 171E04
- 0C1102
- 040501
- 000100
灰色调
- 697E33
- 6C7E3E
- 6E7F48
- 717F51
- 737F59
- 768061
- 788069
- 7B8071
- 7D8079
配色和谐
互补色 +180°
- 677D26
Enchanted Forest
- 8061AA
≈ Genestealer Purple
类似色 -30° +30°
- 677D26
Enchanted Forest
- 8A7000
≈ Vermin Brown
- 338651
≈ Green Grass
三角配色 +120° +240°
- 677D26
Enchanted Forest
- 2679B0
≈ Nice Blue
- A8536D
≈ China Rose
分裂互补色 +150° +210°
- 677D26
Enchanted Forest
- 5C6DB6
≈ Amparo Blue
- 995790
≈ Purplish
四角配色 +90° +180° +270°
- 677D26
Enchanted Forest
- 008194
≈ Craftsman Blue
- 8061AA
≈ Genestealer Purple
- AB5746
≈ Cottage Spice
对比度与无障碍
Ag
AA白底
WCAG 4.62:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.53:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.62:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #677d26;
--enchanted-forest-rgb: 103 125 38;
--enchanted-forest-oklch: oklch(0.554 0.115 122.5);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(75 53% 32%);
border-color: oklch(0.554 0.115 122.5);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #677d26;
--color-enchanted-forest-50: #eefbd8;
--color-enchanted-forest-100: #dfefc5;
--color-enchanted-forest-200: #c9dda7;
--color-enchanted-forest-300: #aac280;
--color-enchanted-forest-400: #92a95a;
--color-enchanted-forest-500: #799230;
--color-enchanted-forest-600: #667b2b;
--color-enchanted-forest-700: #526322;
--color-enchanted-forest-800: #3d4815;
--color-enchanted-forest-900: #2a320d;
--color-enchanted-forest-950: #181e02;
}SCSS
$enchanted-forest: #677d26;
$enchanted-forest-rgb: 103, 125, 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);
}