最接近的命名颜色 · #677D22
#677D22
最接近的命名颜色: Enchanted Forest
#677D22(rgb(103 125 34)、hsl(75 57% 31%)、oklch(0.554 0.118 122.2))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#677D22
oklch(0.554 0.118 122.2)
颜色转换
- HEX
- #677d22
- RGB
- rgb(103 125 34)
- HSL
- hsl(75 57% 31%)
- HWB
- hwb(75 13% 51%)
- OKLCH
- oklch(0.554 0.118 122.2)
- OKLab
- oklab(0.554 -0.063 0.1)
- CIE Lab
- lab(49.27 -18.3 43.99)
- LCH
- lch(49.27 47.64 112.6)
- CMYK
- cmyk(18% 0% 73% 51%)
浅色调 · 深色调 · 灰色调
浅色调
- 758A3D
- 839653
- 92A369
- A0B07E
- B0BD93
- BFCAA8
- CFD7BE
- DFE4D3
- EFF2E9
深色调
- 596C1C
- 4B5B16
- 3D4B11
- 303B0B
- 232C07
- 171E03
- 0C1101
- 040500
- 000100
灰色调
- 697E30
- 6C7E3C
- 6E7F46
- 717F4F
- 737F58
- 768060
- 788069
- 7B8071
- 7D8078
配色和谐
互补色 +180°
- 677D22
Enchanted Forest
- 8060AB
≈ Genestealer Purple
类似色 -30° +30°
- 677D22
Enchanted Forest
- 8A7000
≈ Vermin Brown
- 31864F
≈ Green Grass
三角配色 +120° +240°
- 677D22
Enchanted Forest
- 2279B1
≈ Nice Blue
- A9526D
≈ China Rose
分裂互补色 +150° +210°
- 677D22
Enchanted Forest
- 5B6DB7
≈ Amparo Blue
- 9A5791
≈ Purplish
四角配色 +90° +180° +270°
- 677D22
Enchanted Forest
- 008194
≈ Craftsman Blue
- 8060AB
≈ Genestealer Purple
- AD5545
≈ Cherry Blink
对比度与无障碍
Ag
AA白底
WCAG 4.63:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.53:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #677d22;
--enchanted-forest-rgb: 103 125 34;
--enchanted-forest-oklch: oklch(0.554 0.118 122.2);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(75 57% 31%);
border-color: oklch(0.554 0.118 122.2);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #677d22;
--color-enchanted-forest-50: #eefcd7;
--color-enchanted-forest-100: #dfefc4;
--color-enchanted-forest-200: #c9dda6;
--color-enchanted-forest-300: #aac27e;
--color-enchanted-forest-400: #92aa57;
--color-enchanted-forest-500: #79922c;
--color-enchanted-forest-600: #667b27;
--color-enchanted-forest-700: #52631f;
--color-enchanted-forest-800: #3d4813;
--color-enchanted-forest-900: #2a320c;
--color-enchanted-forest-950: #181e01;
}SCSS
$enchanted-forest: #677d22;
$enchanted-forest-rgb: 103, 125, 34;
$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);
}