最接近的命名颜色 · #66800F
#66800F
最接近的命名颜色: Enchanted Forest
#66800F(rgb(102 128 15)、hsl(74 79% 28%)、oklch(0.559 0.132 123))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#66800F
oklch(0.559 0.132 123)
颜色转换
- HEX
- #66800f
- RGB
- rgb(102 128 15)
- HSL
- hsl(74 79% 28%)
- HWB
- hwb(74 6% 50%)
- OKLCH
- oklch(0.559 0.132 123)
- OKLab
- oklab(0.559 -0.072 0.111)
- CIE Lab
- lab(50.05 -20.81 50.53)
- LCH
- lch(50.05 54.65 112.4)
- CMYK
- cmyk(20% 0% 88% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 748C33
- 82994D
- 91A564
- A0B27A
- AFBF90
- BFCBA6
- CED8BC
- DEE5D2
- EFF2E8
深色调
- 586E0B
- 4A5D08
- 3C4D05
- 2F3D03
- 232E02
- 171F01
- 0C1200
- 040600
- 000100
灰色调
- 688026
- 6B8134
- 6D8140
- 70814B
- 738155
- 75815E
- 788167
- 7B816F
- 7D8078
配色和谐
互补色 +180°
- 66800F
Enchanted Forest
- 845EB3
≈ Lusty Lavender
类似色 -30° +30°
- 66800F
Enchanted Forest
- 8B7200
≈ Vermin Brown
- 1F8A4D
≈ Turf Green
三角配色 +120° +240°
- 66800F
Enchanted Forest
- 0B7BBB
≈ Deep Cerulean
- B14E6D
≈ Lickedy Lick
分裂互补色 +150° +210°
- 66800F
Enchanted Forest
- 5C6CC1
≈ Bluish Purple Anemone
- A15395
≈ Hyacinth Violet
四角配色 +90° +180° +270°
- 66800F
Enchanted Forest
- 008396
≈ Cruising
- 845EB3
≈ Lusty Lavender
- B4523E
≈ 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: #66800f;
--enchanted-forest-rgb: 102 128 15;
--enchanted-forest-oklch: oklch(0.559 0.132 123);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(74 79% 28%);
border-color: oklch(0.559 0.132 123);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #66800f;
--color-enchanted-forest-50: #ecfcd3;
--color-enchanted-forest-100: #def0c0;
--color-enchanted-forest-200: #c7dfa1;
--color-enchanted-forest-300: #a8c377;
--color-enchanted-forest-400: #90ab4d;
--color-enchanted-forest-500: #769316;
--color-enchanted-forest-600: #647d17;
--color-enchanted-forest-700: #506413;
--color-enchanted-forest-800: #3c4908;
--color-enchanted-forest-900: #293205;
--color-enchanted-forest-950: #171e00;
}SCSS
$enchanted-forest: #66800f;
$enchanted-forest-rgb: 102, 128, 15;
$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);
}