最接近的命名颜色 · #668009
#668009
最接近的命名颜色: Enchanted Forest
#668009(rgb(102 128 9)、hsl(73 87% 27%)、oklch(0.559 0.134 122.9))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#668009
oklch(0.559 0.134 122.9)
颜色转换
- HEX
- #668009
- RGB
- rgb(102 128 9)
- HSL
- hsl(73 87% 27%)
- HWB
- hwb(73 4% 50%)
- OKLCH
- oklch(0.559 0.134 122.9)
- OKLab
- oklab(0.559 -0.073 0.113)
- CIE Lab
- lab(50.03 -20.93 51.7)
- LCH
- lch(50.03 55.78 112)
- CMYK
- cmyk(20% 0% 93% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 748C31
- 82994B
- 91A663
- A0B279
- AFBF8F
- BFCCA5
- CED8BC
- DEE5D2
- EFF2E8
深色调
- 586E07
- 4A5D05
- 3C4D03
- 2F3D02
- 232E01
- 171F01
- 0C1200
- 040600
- 000100
灰色调
- 688023
- 6B8133
- 6D813F
- 70814A
- 738154
- 75815D
- 788166
- 7B816F
- 7D8078
配色和谐
互补色 +180°
- 668009
Enchanted Forest
- 845EB4
≈ Lusty Lavender
类似色 -30° +30°
- 668009
Enchanted Forest
- 8C7200
≈ Vermin Brown
- 1C8A4C
≈ Turf Green
三角配色 +120° +240°
- 668009
Enchanted Forest
- 037BBC
≈ Deep Cerulean
- B24D6D
≈ Lickedy Lick
分裂互补色 +150° +210°
- 668009
Enchanted Forest
- 5B6CC2
≈ Bluish Purple Anemone
- A15396
≈ Hyacinth Violet
四角配色 +90° +180° +270°
- 668009
Enchanted Forest
- 008396
≈ Cruising
- 845EB4
≈ Lusty Lavender
- B5513E
≈ Burnt Brick
对比度与无障碍
Ag
AA白底
WCAG 4.50:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.65:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.65:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #668009;
--enchanted-forest-rgb: 102 128 9;
--enchanted-forest-oklch: oklch(0.559 0.134 122.9);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(73 87% 27%);
border-color: oklch(0.559 0.134 122.9);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #668009;
--color-enchanted-forest-50: #ecfdd3;
--color-enchanted-forest-100: #def0c0;
--color-enchanted-forest-200: #c7dfa0;
--color-enchanted-forest-300: #a8c476;
--color-enchanted-forest-400: #90ab4b;
--color-enchanted-forest-500: #769310;
--color-enchanted-forest-600: #647d13;
--color-enchanted-forest-700: #506410;
--color-enchanted-forest-800: #3c4906;
--color-enchanted-forest-900: #293304;
--color-enchanted-forest-950: #171e00;
}SCSS
$enchanted-forest: #668009;
$enchanted-forest-rgb: 102, 128, 9;
$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);
}