最接近的命名颜色 · #5E7F19
#5E7F19
最接近的命名颜色: Enchanted Forest
#5E7F19(rgb(94 127 25)、hsl(79 67% 30%)、oklch(0.552 0.131 126.6))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5E7F19
oklch(0.552 0.131 126.6)
颜色转换
- HEX
- #5e7f19
- RGB
- rgb(94 127 25)
- HSL
- hsl(79 67% 30%)
- HWB
- hwb(79 10% 50%)
- OKLCH
- oklch(0.552 0.131 126.6)
- OKLab
- oklab(0.552 -0.078 0.105)
- CIE Lab
- lab(49.21 -23.42 46.84)
- LCH
- lch(49.21 52.37 116.6)
- CMYK
- cmyk(26% 0% 80% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 6D8C37
- 7C984F
- 8BA566
- 9BB17C
- ABBE91
- BBCBA7
- CCD8BD
- DDE5D2
- EEF2E9
深色调
- 516E14
- 445D10
- 374C0B
- 2B3C07
- 1F2D04
- 141F02
- 0A1101
- 030600
- 000100
灰色调
- 617F2A
- 658037
- 688043
- 6C804D
- 6F8056
- 72805F
- 768067
- 798070
- 7D8078
配色和谐
互补色 +180°
- 5E7F19
Enchanted Forest
- 865BAD
≈ Lusty Lavender
类似色 -30° +30°
- 5E7F19
Enchanted Forest
- 857100
≈ Sunlit Kelp Green
- 078851
≈ Pixel Nature
三角配色 +120° +240°
- 5E7F19
Enchanted Forest
- 1E77B9
≈ Bluish
- AF4D65
≈ Gala Pink
分裂互补色 +150° +210°
- 5E7F19
Enchanted Forest
- 5F68BD
≈ Bluish Purple Anemone
- A0518E
≈ Purple Zergling
四角配色 +90° +180° +270°
- 5E7F19
Enchanted Forest
- 008097
≈ Pagoda
- 865BAD
≈ Lusty Lavender
- B05237
≈ Crimson Warrior
对比度与无障碍
Ag
AA白底
WCAG 4.64:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.52:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.64:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #5e7f19;
--enchanted-forest-rgb: 94 127 25;
--enchanted-forest-oklch: oklch(0.552 0.131 126.6);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(79 67% 30%);
border-color: oklch(0.552 0.131 126.6);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5e7f19;
--color-enchanted-forest-50: #eafdd6;
--color-enchanted-forest-100: #dbf1c3;
--color-enchanted-forest-200: #c3e0a4;
--color-enchanted-forest-300: #a3c57c;
--color-enchanted-forest-400: #8aac53;
--color-enchanted-forest-500: #6f9524;
--color-enchanted-forest-600: #5f7e21;
--color-enchanted-forest-700: #4b651a;
--color-enchanted-forest-800: #384a0e;
--color-enchanted-forest-900: #273309;
--color-enchanted-forest-950: #151f00;
}SCSS
$enchanted-forest: #5e7f19;
$enchanted-forest-rgb: 94, 127, 25;
$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);
}