最接近的命名颜色 · #5E8115
#5E8115
最接近的命名颜色: Enchanted Forest
#5E8115(rgb(94 129 21)、hsl(79 72% 29%)、oklch(0.557 0.135 127))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5E8115
oklch(0.557 0.135 127)
颜色转换
- HEX
- #5e8115
- RGB
- rgb(94 129 21)
- HSL
- hsl(79 72% 29%)
- HWB
- hwb(79 8% 49%)
- OKLCH
- oklch(0.557 0.135 127)
- OKLab
- oklab(0.557 -0.081 0.108)
- CIE Lab
- lab(49.83 -24.47 48.57)
- LCH
- lch(49.83 54.39 116.7)
- CMYK
- cmyk(27% 0% 84% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 6D8D36
- 7C9A4E
- 8BA665
- 9BB37B
- ABBF91
- BBCCA7
- CCD9BC
- DDE5D2
- EEF2E9
深色调
- 516F11
- 445E0C
- 374E08
- 2B3E05
- 1F2E03
- 141F02
- 0A1201
- 030600
- 000100
灰色调
- 618128
- 658136
- 688142
- 6C824C
- 6F8156
- 72815F
- 768167
- 798170
- 7D8078
配色和谐
互补色 +180°
- 5E8115
Enchanted Forest
- 885BB0
≈ Lusty Lavender
类似色 -30° +30°
- 5E8115
Enchanted Forest
- 877300
≈ Soft Fig
- 008A53
≈ English Meadow
三角配色 +120° +240°
- 5E8115
Enchanted Forest
- 1B78BD
≈ Roller Coaster Chariot
- B34C66
≈ Gala Pink
分裂互补色 +150° +210°
- 5E8115
Enchanted Forest
- 6169C1
≈ Bluish Purple Anemone
- A35190
≈ Plum Dust
四角配色 +90° +180° +270°
- 5E8115
Enchanted Forest
- 008199
≈ Decore Splash
- 885BB0
≈ Lusty Lavender
- B45235
≈ Renga Brick
对比度与无障碍
Ag
AA白底
WCAG 4.53:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.62:1 · APCA Lc 30
最佳文字颜色: #000000
WCAG 4.62:1 (AA) · APCA Lc 30
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #5e8115;
--enchanted-forest-rgb: 94 129 21;
--enchanted-forest-oklch: oklch(0.557 0.135 127);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(79 72% 29%);
border-color: oklch(0.557 0.135 127);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5e8115;
--color-enchanted-forest-50: #e9fdd5;
--color-enchanted-forest-100: #daf1c2;
--color-enchanted-forest-200: #c2e0a2;
--color-enchanted-forest-300: #a2c57a;
--color-enchanted-forest-400: #89ad50;
--color-enchanted-forest-500: #6e961d;
--color-enchanted-forest-600: #5d7e1c;
--color-enchanted-forest-700: #4a6517;
--color-enchanted-forest-800: #384a0b;
--color-enchanted-forest-900: #263307;
--color-enchanted-forest-950: #151f00;
}SCSS
$enchanted-forest: #5e8115;
$enchanted-forest-rgb: 94, 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);
}