最接近的命名颜色 · #5E7F1C
#5E7F1C
最接近的命名颜色: Enchanted Forest
#5E7F1C(rgb(94 127 28)、hsl(80 64% 30%)、oklch(0.552 0.129 126.8))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5E7F1C
oklch(0.552 0.129 126.8)
颜色转换
- HEX
- #5e7f1c
- RGB
- rgb(94 127 28)
- HSL
- hsl(80 64% 30%)
- HWB
- hwb(80 11% 50%)
- OKLCH
- oklch(0.552 0.129 126.8)
- OKLab
- oklab(0.552 -0.077 0.103)
- CIE Lab
- lab(49.22 -23.31 45.86)
- LCH
- lch(49.22 51.44 116.9)
- CMYK
- cmyk(26% 0% 78% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 6D8C39
- 7C9851
- 8BA567
- 9BB17C
- ABBE92
- BBCBA7
- CCD8BD
- DDE5D3
- EEF2E9
深色调
- 516E17
- 445D12
- 374C0D
- 2B3C08
- 1F2D05
- 141F02
- 0A1101
- 030600
- 000100
灰色调
- 617F2C
- 658039
- 688044
- 6C804D
- 6F8057
- 72805F
- 768068
- 798070
- 7D8078
配色和谐
互补色 +180°
- 5E7F1C
Enchanted Forest
- 865BAC
≈ Lusty Lavender
类似色 -30° +30°
- 5E7F1C
Enchanted Forest
- 857100
≈ Sunlit Kelp Green
- 0C8852
≈ Pixel Nature
三角配色 +120° +240°
- 5E7F1C
Enchanted Forest
- 2177B8
≈ Bluish
- AE4D65
≈ Gala Pink
分裂互补色 +150° +210°
- 5E7F1C
Enchanted Forest
- 6069BC
≈ Bluish Purple Anemone
- A0518E
≈ Purple Zergling
四角配色 +90° +180° +270°
- 5E7F1C
Enchanted Forest
- 008097
≈ Pagoda
- 865BAC
≈ Lusty Lavender
- B05238
≈ Crimson Warrior
对比度与无障碍
Ag
AA白底
WCAG 4.63:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.52:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #5e7f1c;
--enchanted-forest-rgb: 94 127 28;
--enchanted-forest-oklch: oklch(0.552 0.129 126.8);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(80 64% 30%);
border-color: oklch(0.552 0.129 126.8);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5e7f1c;
--color-enchanted-forest-50: #eafdd6;
--color-enchanted-forest-100: #dbf1c3;
--color-enchanted-forest-200: #c3e0a5;
--color-enchanted-forest-300: #a3c47d;
--color-enchanted-forest-400: #8aac54;
--color-enchanted-forest-500: #6f9527;
--color-enchanted-forest-600: #5f7e23;
--color-enchanted-forest-700: #4b651c;
--color-enchanted-forest-800: #384a10;
--color-enchanted-forest-900: #27330a;
--color-enchanted-forest-950: #151f00;
}SCSS
$enchanted-forest: #5e7f1c;
$enchanted-forest-rgb: 94, 127, 28;
$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);
}