最接近的命名颜色 · #5B8221
#5B8221
最接近的命名颜色: Enchanted Forest
#5B8221(rgb(91 130 33)、hsl(84 60% 32%)、oklch(0.558 0.131 129.2))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5B8221
oklch(0.558 0.131 129.2)
颜色转换
- HEX
- #5b8221
- RGB
- rgb(91 130 33)
- HSL
- hsl(84 60% 32%)
- HWB
- hwb(84 13% 49%)
- OKLCH
- oklch(0.558 0.131 129.2)
- OKLab
- oklab(0.558 -0.083 0.102)
- CIE Lab
- lab(50 -25.67 44.73)
- LCH
- lch(50 51.57 119.9)
- CMYK
- cmyk(30% 0% 75% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 6A8E3C
- 7A9B53
- 8AA769
- 9AB37E
- AAC093
- BACCA9
- CBD9BE
- DCE6D3
- EEF2E9
深色调
- 4E701B
- 415F16
- 354E10
- 293E0B
- 1E2F06
- 132003
- 091201
- 030600
- 000100
灰色调
- 5F8230
- 63823B
- 668246
- 6A824F
- 6E8258
- 718261
- 758169
- 798171
- 7C8178
配色和谐
互补色 +180°
- 5B8221
Enchanted Forest
- 8A5CAD
≈ Lusty Lavender
类似色 -30° +30°
- 5B8221
Enchanted Forest
- 857400
≈ Soft Fig
- 008A58
≈ Center Field
三角配色 +120° +240°
- 5B8221
Enchanted Forest
- 2977BD
≈ Bluish
- B24E63
≈ Gala Pink
分裂互补色 +150° +210°
- 5B8221
Enchanted Forest
- 6569BF
≈ Bluish Purple Anemone
- A4528D
≈ Purple Zergling
四角配色 +90° +180° +270°
- 5B8221
Enchanted Forest
- 00819C
≈ Decore Splash
- 8A5CAD
≈ Lusty Lavender
- B25434
≈ Renga Brick
对比度与无障碍
Ag
AA白底
WCAG 4.50:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.65:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.65:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #5b8221;
--enchanted-forest-rgb: 91 130 33;
--enchanted-forest-oklch: oklch(0.558 0.131 129.2);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(84 60% 32%);
border-color: oklch(0.558 0.131 129.2);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5b8221;
--color-enchanted-forest-50: #e8fed7;
--color-enchanted-forest-100: #d9f2c4;
--color-enchanted-forest-200: #c1e0a6;
--color-enchanted-forest-300: #a0c67e;
--color-enchanted-forest-400: #86ad56;
--color-enchanted-forest-500: #6a9629;
--color-enchanted-forest-600: #5a7f25;
--color-enchanted-forest-700: #48661e;
--color-enchanted-forest-800: #364a11;
--color-enchanted-forest-900: #25340b;
--color-enchanted-forest-950: #131f01;
}SCSS
$enchanted-forest: #5b8221;
$enchanted-forest-rgb: 91, 130, 33;
$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);
}