最接近的命名颜色 · #5E7F11
#5E7F11
最接近的命名颜色: Enchanted Forest
#5E7F11(rgb(94 127 17)、hsl(78 76% 28%)、oklch(0.551 0.134 126.2))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5E7F11
oklch(0.551 0.134 126.2)
颜色转换
- HEX
- #5e7f11
- RGB
- rgb(94 127 17)
- HSL
- hsl(78 76% 28%)
- HWB
- hwb(78 7% 50%)
- OKLCH
- oklch(0.551 0.134 126.2)
- OKLab
- oklab(0.551 -0.079 0.108)
- CIE Lab
- lab(49.18 -23.67 49.07)
- LCH
- lch(49.18 54.48 115.8)
- CMYK
- cmyk(26% 0% 87% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 6D8C34
- 7C984D
- 8BA564
- 9BB27A
- ABBE90
- BBCBA6
- CCD8BC
- DDE5D2
- EEF2E8
深色调
- 516E0D
- 445D09
- 374C06
- 2B3C04
- 1F2D02
- 141F01
- 0A1100
- 030600
- 000100
灰色调
- 617F26
- 658034
- 688040
- 6B804B
- 6F8055
- 72815E
- 768167
- 79806F
- 7D8078
配色和谐
互补色 +180°
- 5E7F11
Enchanted Forest
- 865AAF
≈ Lusty Lavender
类似色 -30° +30°
- 5E7F11
Enchanted Forest
- 867100
≈ Sunlit Kelp Green
- 008850
≈ Pixel Nature
三角配色 +120° +240°
- 5E7F11
Enchanted Forest
- 1677BB
≈ Bumangués Blue
- B04B66
≈ Gala Pink
分裂互补色 +150° +210°
- 5E7F11
Enchanted Forest
- 5E68BF
≈ Bluish Purple Anemone
- A14F8F
≈ La la Lavender
四角配色 +90° +180° +270°
- 5E7F11
Enchanted Forest
- 008096
≈ Craftsman Blue
- 865AAF
≈ Lusty Lavender
- B25035
≈ Crimson Warrior
对比度与无障碍
Ag
AA白底
WCAG 4.64:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.51:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.64:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #5e7f11;
--enchanted-forest-rgb: 94 127 17;
--enchanted-forest-oklch: oklch(0.551 0.134 126.2);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(78 76% 28%);
border-color: oklch(0.551 0.134 126.2);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5e7f11;
--color-enchanted-forest-50: #eafdd4;
--color-enchanted-forest-100: #dbf1c1;
--color-enchanted-forest-200: #c3e0a2;
--color-enchanted-forest-300: #a3c579;
--color-enchanted-forest-400: #8aac4f;
--color-enchanted-forest-500: #70951c;
--color-enchanted-forest-600: #5f7e1c;
--color-enchanted-forest-700: #4b6516;
--color-enchanted-forest-800: #394a0a;
--color-enchanted-forest-900: #273307;
--color-enchanted-forest-950: #151f00;
}SCSS
$enchanted-forest: #5e7f11;
$enchanted-forest-rgb: 94, 127, 17;
$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);
}