最接近的命名颜色 · #54811A
#54811A
最接近的命名颜色: Enchanted Forest
#54811A(rgb(84 129 26)、hsl(86 66% 30%)、oklch(0.55 0.138 131))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#54811A
oklch(0.55 0.138 131)
颜色转换
- HEX
- #54811a
- RGB
- rgb(84 129 26)
- HSL
- hsl(86 66% 30%)
- HWB
- hwb(86 10% 49%)
- OKLCH
- oklch(0.55 0.138 131)
- OKLab
- oklab(0.55 -0.09 0.104)
- CIE Lab
- lab(49.22 -28.28 46.25)
- LCH
- lch(49.22 54.21 121.4)
- CMYK
- cmyk(35% 0% 80% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 648D38
- 749A50
- 85A666
- 96B37C
- A7BF91
- B8CCA7
- C9D9BD
- DBE5D3
- EDF2E9
深色调
- 486F15
- 3C5E10
- 314E0C
- 263E07
- 1B2E04
- 111F02
- 081201
- 020600
- 000100
灰色调
- 59812B
- 5D8138
- 628243
- 66824D
- 6B8256
- 6F815F
- 738168
- 788170
- 7C8078
配色和谐
互补色 +180°
- 54811A
Enchanted Forest
- 8B57AC
≈ Lusty Lavender
类似色 -30° +30°
- 54811A
Enchanted Forest
- 817300
≈ Sunlit Kelp Green
- 00875A
≈ Vital Green
三角配色 +120° +240°
- 54811A
Enchanted Forest
- 2574BF
≈ Bluish
- B3495E
≈ Dark Rose
分裂互补色 +150° +210°
- 54811A
Enchanted Forest
- 6565BF
≈ Bluish Purple Anemone
- A54D89
≈ La la Lavender
四角配色 +90° +180° +270°
- 54811A
Enchanted Forest
- 007E9B
≈ Amazing Sky
- 8B57AC
≈ Lusty Lavender
- B25029
≈ Cinnamon Stick
对比度与无障碍
Ag
AA白底
WCAG 4.63:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.53:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #54811a;
--enchanted-forest-rgb: 84 129 26;
--enchanted-forest-oklch: oklch(0.55 0.138 131);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(86 66% 30%);
border-color: oklch(0.55 0.138 131);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #54811a;
--color-enchanted-forest-50: #e6fed6;
--color-enchanted-forest-100: #d6f2c3;
--color-enchanted-forest-200: #bde1a5;
--color-enchanted-forest-300: #9cc77d;
--color-enchanted-forest-400: #81af53;
--color-enchanted-forest-500: #659825;
--color-enchanted-forest-600: #568022;
--color-enchanted-forest-700: #44671b;
--color-enchanted-forest-800: #334b0e;
--color-enchanted-forest-900: #233409;
--color-enchanted-forest-950: #121f00;
}SCSS
$enchanted-forest: #54811a;
$enchanted-forest-rgb: 84, 129, 26;
$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);
}