最接近的命名颜色 · #5C7F16
#5C7F16
最接近的命名颜色: Enchanted Forest
#5C7F16(rgb(92 127 22)、hsl(80 70% 29%)、oklch(0.55 0.133 127.2))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5C7F16
oklch(0.55 0.133 127.2)
颜色转换
- HEX
- #5c7f16
- RGB
- rgb(92 127 22)
- HSL
- hsl(80 70% 29%)
- HWB
- hwb(80 9% 50%)
- OKLCH
- oklch(0.55 0.133 127.2)
- OKLab
- oklab(0.55 -0.081 0.106)
- CIE Lab
- lab(49.06 -24.35 47.56)
- LCH
- lch(49.06 53.43 117.1)
- CMYK
- cmyk(28% 0% 83% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 6B8C36
- 7A984E
- 8AA565
- 9AB27B
- AABE91
- BBCBA6
- CBD8BC
- DCE5D2
- EEF2E9
深色调
- 4F6E12
- 425D0D
- 364C09
- 2A3C06
- 1F2D03
- 141F02
- 0A1101
- 030600
- 000100
灰色调
- 607F29
- 638036
- 678042
- 6A804C
- 6E8055
- 72815E
- 758167
- 798070
- 7C8078
配色和谐
互补色 +180°
- 5C7F16
Enchanted Forest
- 865AAD
≈ Lusty Lavender
类似色 -30° +30°
- 5C7F16
Enchanted Forest
- 847100
≈ Sunlit Kelp Green
- 008752
≈ Pixel Nature
三角配色 +120° +240°
- 5C7F16
Enchanted Forest
- 1C76BA
≈ Bumangués Blue
- B04B64
≈ Gala Pink
分裂互补色 +150° +210°
- 5C7F16
Enchanted Forest
- 6067BE
≈ Bluish Purple Anemone
- A14F8D
≈ La la Lavender
四角配色 +90° +180° +270°
- 5C7F16
Enchanted Forest
- 007F97
≈ Pagoda
- 865AAD
≈ Lusty Lavender
- B15134
≈ Crimson Warrior
对比度与无障碍
Ag
AA白底
WCAG 4.66:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.50:1 · APCA Lc 29
最佳文字颜色: #FFFFFF
WCAG 4.66:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #5c7f16;
--enchanted-forest-rgb: 92 127 22;
--enchanted-forest-oklch: oklch(0.55 0.133 127.2);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(80 70% 29%);
border-color: oklch(0.55 0.133 127.2);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5c7f16;
--color-enchanted-forest-50: #e9fdd5;
--color-enchanted-forest-100: #daf1c2;
--color-enchanted-forest-200: #c2e0a3;
--color-enchanted-forest-300: #a2c57b;
--color-enchanted-forest-400: #89ad52;
--color-enchanted-forest-500: #6e9522;
--color-enchanted-forest-600: #5d7e1f;
--color-enchanted-forest-700: #4a6519;
--color-enchanted-forest-800: #384a0d;
--color-enchanted-forest-900: #263308;
--color-enchanted-forest-950: #141f00;
}SCSS
$enchanted-forest: #5c7f16;
$enchanted-forest-rgb: 92, 127, 22;
$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);
}