最接近的命名颜色 · #5B8017
#5B8017
最接近的命名颜色: Enchanted Forest
#5B8017(rgb(91 128 23)、hsl(81 70% 30%)、oklch(0.552 0.134 128))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5B8017
oklch(0.552 0.134 128)
颜色转换
- HEX
- #5b8017
- RGB
- rgb(91 128 23)
- HSL
- hsl(81 70% 30%)
- HWB
- hwb(81 9% 50%)
- OKLCH
- oklch(0.552 0.134 128)
- OKLab
- oklab(0.552 -0.083 0.106)
- CIE Lab
- lab(49.32 -25.18 47.46)
- LCH
- lch(49.32 53.73 117.9)
- CMYK
- cmyk(29% 0% 82% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 6A8C36
- 7A994F
- 89A665
- 99B27B
- AABF91
- BACCA7
- CBD8BC
- DCE5D2
- EDF2E9
深色调
- 4E6E12
- 415D0E
- 354D0A
- 293D06
- 1E2E04
- 131F02
- 091201
- 030600
- 000100
灰色调
- 5F8029
- 628137
- 668142
- 6A814C
- 6E8156
- 71815F
- 758167
- 798170
- 7C8078
配色和谐
互补色 +180°
- 5B8017
Enchanted Forest
- 885AAE
≈ Lusty Lavender
类似色 -30° +30°
- 5B8017
Enchanted Forest
- 847200
≈ Sunlit Kelp Green
- 008854
≈ Pixel Nature
三角配色 +120° +240°
- 5B8017
Enchanted Forest
- 1E76BC
≈ Bluish
- B14B63
≈ Gala Pink
分裂互补色 +150° +210°
- 5B8017
Enchanted Forest
- 6167BF
≈ Bluish Purple Anemone
- A34F8D
≈ La la Lavender
四角配色 +90° +180° +270°
- 5B8017
Enchanted Forest
- 007F98
≈ Pacific Pleasure
- 885AAE
≈ Lusty Lavender
- B25132
≈ Renga Brick
对比度与无障碍
Ag
AA白底
WCAG 4.62:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.54:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.62:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #5b8017;
--enchanted-forest-rgb: 91 128 23;
--enchanted-forest-oklch: oklch(0.552 0.134 128);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(81 70% 30%);
border-color: oklch(0.552 0.134 128);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5b8017;
--color-enchanted-forest-50: #e9fed5;
--color-enchanted-forest-100: #d9f2c3;
--color-enchanted-forest-200: #c1e0a3;
--color-enchanted-forest-300: #a1c57b;
--color-enchanted-forest-400: #87ad52;
--color-enchanted-forest-500: #6c9622;
--color-enchanted-forest-600: #5c7f1f;
--color-enchanted-forest-700: #496619;
--color-enchanted-forest-800: #374a0d;
--color-enchanted-forest-900: #253308;
--color-enchanted-forest-950: #141f00;
}SCSS
$enchanted-forest: #5b8017;
$enchanted-forest-rgb: 91, 128, 23;
$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);
}