最接近的命名颜色 · #54811B
#54811B
最接近的命名颜色: Enchanted Forest
#54811B(rgb(84 129 27)、hsl(86 65% 31%)、oklch(0.55 0.137 131.1))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#54811B
oklch(0.55 0.137 131.1)
颜色转换
- HEX
- #54811b
- RGB
- rgb(84 129 27)
- HSL
- hsl(86 65% 31%)
- HWB
- hwb(86 11% 49%)
- OKLCH
- oklch(0.55 0.137 131.1)
- OKLab
- oklab(0.55 -0.09 0.104)
- CIE Lab
- lab(49.22 -28.24 45.92)
- LCH
- lch(49.22 53.91 121.6)
- CMYK
- cmyk(35% 0% 79% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 648D38
- 749A50
- 85A666
- 96B37C
- A7BF92
- B8CCA7
- C9D9BD
- DBE5D3
- EDF2E9
深色调
- 486F16
- 3C5E11
- 314E0C
- 263E08
- 1B2E05
- 111F02
- 081201
- 020600
- 000100
灰色调
- 59812C
- 5D8138
- 628243
- 66824D
- 6B8256
- 6F815F
- 738168
- 788170
- 7C8078
配色和谐
互补色 +180°
- 54811B
Enchanted Forest
- 8B57AC
≈ Lusty Lavender
类似色 -30° +30°
- 54811B
Enchanted Forest
- 817300
≈ Sunlit Kelp Green
- 00875A
≈ Vital Green
三角配色 +120° +240°
- 54811B
Enchanted Forest
- 2674BE
≈ Bluish
- B2495D
≈ Punky Pink
分裂互补色 +150° +210°
- 54811B
Enchanted Forest
- 6565BF
≈ Bluish Purple Anemone
- A54D89
≈ La la Lavender
四角配色 +90° +180° +270°
- 54811B
Enchanted Forest
- 007E9B
≈ Amazing Sky
- 8B57AC
≈ Lusty Lavender
- B2512A
≈ 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: #54811b;
--enchanted-forest-rgb: 84 129 27;
--enchanted-forest-oklch: oklch(0.55 0.137 131.1);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(86 65% 31%);
border-color: oklch(0.55 0.137 131.1);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #54811b;
--color-enchanted-forest-50: #e6fed6;
--color-enchanted-forest-100: #d6f2c4;
--color-enchanted-forest-200: #bde1a5;
--color-enchanted-forest-300: #9cc77d;
--color-enchanted-forest-400: #81af54;
--color-enchanted-forest-500: #659826;
--color-enchanted-forest-600: #568023;
--color-enchanted-forest-700: #44671c;
--color-enchanted-forest-800: #334b0f;
--color-enchanted-forest-900: #233409;
--color-enchanted-forest-950: #121f00;
}SCSS
$enchanted-forest: #54811b;
$enchanted-forest-rgb: 84, 129, 27;
$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);
}