最接近的命名颜色 · #5D8116
#5D8116
最接近的命名颜色: Enchanted Forest
#5D8116(rgb(93 129 22)、hsl(80 71% 30%)、oklch(0.556 0.135 127.4))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5D8116
oklch(0.556 0.135 127.4)
颜色转换
- HEX
- #5d8116
- RGB
- rgb(93 129 22)
- HSL
- hsl(80 71% 30%)
- HWB
- hwb(80 9% 49%)
- OKLCH
- oklch(0.556 0.135 127.4)
- OKLab
- oklab(0.556 -0.082 0.107)
- CIE Lab
- lab(49.76 -24.85 48.2)
- LCH
- lch(49.76 54.23 117.3)
- CMYK
- cmyk(28% 0% 83% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 6C8D36
- 7B9A4F
- 8BA665
- 9BB37B
- ABBF91
- BBCCA7
- CCD9BC
- DDE5D2
- EEF2E9
深色调
- 506F12
- 435E0D
- 374E09
- 2A3E06
- 1F2E03
- 141F02
- 0A1201
- 030600
- 000100
灰色调
- 618129
- 648136
- 688142
- 6B824C
- 6F8156
- 72815F
- 768167
- 798170
- 7C8078
配色和谐
互补色 +180°
- 5D8116
Enchanted Forest
- 895BB0
≈ Lusty Lavender
类似色 -30° +30°
- 5D8116
Enchanted Forest
- 867300
≈ Soft Fig
- 008954
≈ English Meadow
三角配色 +120° +240°
- 5D8116
Enchanted Forest
- 1D78BD
≈ Bluish
- B34C65
≈ Gala Pink
分裂互补色 +150° +210°
- 5D8116
Enchanted Forest
- 6169C1
≈ Bluish Purple Anemone
- A4508F
≈ Plum Dust
四角配色 +90° +180° +270°
- 5D8116
Enchanted Forest
- 008199
≈ Decore Splash
- 895BB0
≈ Lusty Lavender
- B45234
≈ Renga Brick
对比度与无障碍
Ag
AA白底
WCAG 4.54:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.61:1 · APCA Lc 30
最佳文字颜色: #000000
WCAG 4.61:1 (AA) · APCA Lc 30
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #5d8116;
--enchanted-forest-rgb: 93 129 22;
--enchanted-forest-oklch: oklch(0.556 0.135 127.4);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(80 71% 30%);
border-color: oklch(0.556 0.135 127.4);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5d8116;
--color-enchanted-forest-50: #e9fed5;
--color-enchanted-forest-100: #daf1c2;
--color-enchanted-forest-200: #c2e0a3;
--color-enchanted-forest-300: #a1c57a;
--color-enchanted-forest-400: #88ad50;
--color-enchanted-forest-500: #6d961f;
--color-enchanted-forest-600: #5c7f1d;
--color-enchanted-forest-700: #4a6518;
--color-enchanted-forest-800: #374a0b;
--color-enchanted-forest-900: #263307;
--color-enchanted-forest-950: #141f00;
}SCSS
$enchanted-forest: #5d8116;
$enchanted-forest-rgb: 93, 129, 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);
}