最接近的命名颜色 · #657E16
#657E16
最接近的命名颜色: Enchanted Forest
#657E16(rgb(101 126 22)、hsl(74 70% 29%)、oklch(0.554 0.127 123))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#657E16
oklch(0.554 0.127 123)
颜色转换
- HEX
- #657e16
- RGB
- rgb(101 126 22)
- HSL
- hsl(74 70% 29%)
- HWB
- hwb(74 9% 51%)
- OKLCH
- oklch(0.554 0.127 123)
- OKLab
- oklab(0.554 -0.069 0.107)
- CIE Lab
- lab(49.38 -20.1 48.12)
- LCH
- lch(49.38 52.15 112.7)
- CMYK
- cmyk(20% 0% 83% 51%)
浅色调 · 深色调 · 灰色调
浅色调
- 738B36
- 81974E
- 90A465
- 9FB17B
- AFBE91
- BECBA6
- CED8BC
- DEE5D2
- EEF2E9
深色调
- 576D12
- 495C0D
- 3C4C09
- 2F3C06
- 222D03
- 171F02
- 0C1101
- 030500
- 000100
灰色调
- 687F29
- 6A7F36
- 6D7F42
- 6F804C
- 728055
- 75805F
- 788067
- 7A8070
- 7D8078
配色和谐
互补色 +180°
- 657E16
Enchanted Forest
- 825EAF
≈ Genestealer Purple
类似色 -30° +30°
- 657E16
Enchanted Forest
- 8A7000
≈ Vermin Brown
- 24874D
≈ Lucky Green
三角配色 +120° +240°
- 657E16
Enchanted Forest
- 1479B7
≈ Star Command Blue
- AD4F6B
≈ China Rose
分裂互补色 +150° +210°
- 657E16
Enchanted Forest
- 5B6BBC
≈ Amparo Blue
- 9D5392
≈ Purplish
四角配色 +90° +180° +270°
- 657E16
Enchanted Forest
- 008194
≈ Craftsman Blue
- 825EAF
≈ Genestealer Purple
- B0523F
≈ Cherry Blink
对比度与无障碍
Ag
AA白底
WCAG 4.61:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.54:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.61:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #657e16;
--enchanted-forest-rgb: 101 126 22;
--enchanted-forest-oklch: oklch(0.554 0.127 123);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(74 70% 29%);
border-color: oklch(0.554 0.127 123);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #657e16;
--color-enchanted-forest-50: #edfcd5;
--color-enchanted-forest-100: #def0c2;
--color-enchanted-forest-200: #c8dea3;
--color-enchanted-forest-300: #a8c37a;
--color-enchanted-forest-400: #90ab51;
--color-enchanted-forest-500: #779320;
--color-enchanted-forest-600: #657c1e;
--color-enchanted-forest-700: #506418;
--color-enchanted-forest-800: #3c490c;
--color-enchanted-forest-900: #293208;
--color-enchanted-forest-950: #171e00;
}SCSS
$enchanted-forest: #657e16;
$enchanted-forest-rgb: 101, 126, 22;
$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);
}