最接近的命名颜色 · #667D21
#667D21
最接近的命名颜色: Enchanted Forest
#667D21(rgb(102 125 33)、hsl(75 58% 31%)、oklch(0.553 0.119 122.7))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#667D21
oklch(0.553 0.119 122.7)
颜色转换
- HEX
- #667d21
- RGB
- rgb(102 125 33)
- HSL
- hsl(75 58% 31%)
- HWB
- hwb(75 13% 51%)
- OKLCH
- oklch(0.553 0.119 122.7)
- OKLab
- oklab(0.553 -0.064 0.1)
- CIE Lab
- lab(49.19 -18.77 44.27)
- LCH
- lch(49.19 48.08 113)
- CMYK
- cmyk(18% 0% 74% 51%)
浅色调 · 深色调 · 灰色调
浅色调
- 748A3C
- 829653
- 91A369
- A0B07E
- AFBD93
- BFCAA8
- CED7BE
- DEE4D3
- EFF2E9
深色调
- 586C1B
- 4A5B16
- 3C4B10
- 2F3B0B
- 232C06
- 171E03
- 0C1101
- 040500
- 000100
灰色调
- 687E2F
- 6B7E3B
- 6E7F45
- 707F4F
- 737F58
- 758060
- 788068
- 7B8070
- 7D8078
配色和谐
互补色 +180°
- 667D21
Enchanted Forest
- 805FAB
≈ Genestealer Purple
类似色 -30° +30°
- 667D21
Enchanted Forest
- 8A7000
≈ Vermin Brown
- 2E864F
≈ Lucky Green
三角配色 +120° +240°
- 667D21
Enchanted Forest
- 2179B2
≈ Nice Blue
- AA516C
≈ China Rose
分裂互补色 +150° +210°
- 667D21
Enchanted Forest
- 5B6CB8
≈ Amparo Blue
- 9A5690
≈ Purplish
四角配色 +90° +180° +270°
- 667D21
Enchanted Forest
- 008194
≈ Craftsman Blue
- 805FAB
≈ Genestealer Purple
- AD5543
≈ Cherry Blink
对比度与无障碍
Ag
AA白底
WCAG 4.64:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.52:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.64:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #667d21;
--enchanted-forest-rgb: 102 125 33;
--enchanted-forest-oklch: oklch(0.553 0.119 122.7);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(75 58% 31%);
border-color: oklch(0.553 0.119 122.7);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #667d21;
--color-enchanted-forest-50: #edfcd7;
--color-enchanted-forest-100: #dfefc4;
--color-enchanted-forest-200: #c9dea6;
--color-enchanted-forest-300: #aac27e;
--color-enchanted-forest-400: #92aa57;
--color-enchanted-forest-500: #78922b;
--color-enchanted-forest-600: #667c27;
--color-enchanted-forest-700: #51631f;
--color-enchanted-forest-800: #3d4812;
--color-enchanted-forest-900: #2a320c;
--color-enchanted-forest-950: #171e01;
}SCSS
$enchanted-forest: #667d21;
$enchanted-forest-rgb: 102, 125, 33;
$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);
}