最接近的命名颜色 · #54811D
#54811D
最接近的命名颜色: Enchanted Forest
#54811D(rgb(84 129 29)、hsl(87 63% 31%)、oklch(0.551 0.136 131.2))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#54811D
oklch(0.551 0.136 131.2)
颜色转换
- HEX
- #54811d
- RGB
- rgb(84 129 29)
- HSL
- hsl(87 63% 31%)
- HWB
- hwb(87 11% 49%)
- OKLCH
- oklch(0.551 0.136 131.2)
- OKLab
- oklab(0.551 -0.09 0.102)
- CIE Lab
- lab(49.23 -28.15 45.26)
- LCH
- lch(49.23 53.3 121.9)
- CMYK
- cmyk(35% 0% 78% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 648D3A
- 749A51
- 85A667
- 96B37D
- A7BF92
- B8CCA7
- C9D9BD
- DBE5D3
- EDF2E9
深色调
- 486F18
- 3C5E13
- 314E0E
- 263E09
- 1B2E05
- 111F03
- 081201
- 020600
- 000100
灰色调
- 59812D
- 5D8139
- 628244
- 66824E
- 6B8157
- 6F8160
- 738168
- 788170
- 7C8078
配色和谐
互补色 +180°
- 54811D
Enchanted Forest
- 8B57AB
≈ Lusty Lavender
类似色 -30° +30°
- 54811D
Enchanted Forest
- 807300
≈ Sunlit Kelp Green
- 00875A
≈ Vital Green
三角配色 +120° +240°
- 54811D
Enchanted Forest
- 2874BE
≈ Bluish
- B24A5D
≈ Punky Pink
分裂互补色 +150° +210°
- 54811D
Enchanted Forest
- 6665BE
≈ Bluish Purple Anemone
- A54D89
≈ La la Lavender
四角配色 +90° +180° +270°
- 54811D
Enchanted Forest
- 007E9B
≈ Amazing Sky
- 8B57AB
≈ Lusty Lavender
- B1512A
≈ 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: #54811d;
--enchanted-forest-rgb: 84 129 29;
--enchanted-forest-oklch: oklch(0.551 0.136 131.2);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(87 63% 31%);
border-color: oklch(0.551 0.136 131.2);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #54811d;
--color-enchanted-forest-50: #e6fed7;
--color-enchanted-forest-100: #d6f2c4;
--color-enchanted-forest-200: #bde1a6;
--color-enchanted-forest-300: #9cc77e;
--color-enchanted-forest-400: #81af55;
--color-enchanted-forest-500: #659828;
--color-enchanted-forest-600: #558025;
--color-enchanted-forest-700: #44671d;
--color-enchanted-forest-800: #334b10;
--color-enchanted-forest-900: #23340a;
--color-enchanted-forest-950: #121f00;
}SCSS
$enchanted-forest: #54811d;
$enchanted-forest-rgb: 84, 129, 29;
$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);
}