最接近的命名颜色 · #608115
#608115
最接近的命名颜色: Enchanted Forest
#608115(rgb(96 129 21)、hsl(78 72% 29%)、oklch(0.558 0.134 126.1))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#608115
oklch(0.558 0.134 126.1)
颜色转换
- HEX
- #608115
- RGB
- rgb(96 129 21)
- HSL
- hsl(78 72% 29%)
- HWB
- hwb(78 8% 49%)
- OKLCH
- oklch(0.558 0.134 126.1)
- OKLab
- oklab(0.558 -0.079 0.108)
- CIE Lab
- lab(49.96 -23.65 48.75)
- LCH
- lch(49.96 54.18 115.9)
- CMYK
- cmyk(26% 0% 84% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 6F8D36
- 7E9A4E
- 8DA665
- 9CB37B
- ACBF91
- BCCCA7
- CDD9BC
- DDE5D2
- EEF2E9
深色调
- 526F11
- 455E0C
- 384E08
- 2C3E05
- 202E03
- 151F02
- 0A1201
- 030600
- 000100
灰色调
- 638128
- 668136
- 6A8142
- 6D824C
- 708156
- 73815F
- 768167
- 7A8170
- 7D8078
配色和谐
互补色 +180°
- 608115
Enchanted Forest
- 885CB1
≈ Lusty Lavender
类似色 -30° +30°
- 608115
Enchanted Forest
- 887300
≈ Vermin Brown
- 048A51
≈ Later Gator
三角配色 +120° +240°
- 608115
Enchanted Forest
- 1A79BD
≈ Roller Coaster Chariot
- B24D68
≈ Gala Pink
分裂互补色 +150° +210°
- 608115
Enchanted Forest
- 606AC1
≈ Bluish Purple Anemone
- A35291
≈ Purple Zergling
四角配色 +90° +180° +270°
- 608115
Enchanted Forest
- 008299
≈ Cruising
- 885CB1
≈ Lusty Lavender
- B45238
≈ Crimson Warrior
对比度与无障碍
Ag
AA白底
WCAG 4.51:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.64:1 · APCA Lc 30
最佳文字颜色: #000000
WCAG 4.64:1 (AA) · APCA Lc 30
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #608115;
--enchanted-forest-rgb: 96 129 21;
--enchanted-forest-oklch: oklch(0.558 0.134 126.1);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(78 72% 29%);
border-color: oklch(0.558 0.134 126.1);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #608115;
--color-enchanted-forest-50: #eafdd5;
--color-enchanted-forest-100: #dbf1c2;
--color-enchanted-forest-200: #c3e0a2;
--color-enchanted-forest-300: #a3c579;
--color-enchanted-forest-400: #8aac4f;
--color-enchanted-forest-500: #70951d;
--color-enchanted-forest-600: #5f7e1c;
--color-enchanted-forest-700: #4c6516;
--color-enchanted-forest-800: #394a0b;
--color-enchanted-forest-900: #273307;
--color-enchanted-forest-950: #151f00;
}SCSS
$enchanted-forest: #608115;
$enchanted-forest-rgb: 96, 129, 21;
$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);
}