最接近的命名颜色 · #5B8224
#5B8224
最接近的命名颜色: Enchanted Forest
#5B8224(rgb(91 130 36)、hsl(85 57% 33%)、oklch(0.558 0.129 129.5))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5B8224
oklch(0.558 0.129 129.5)
颜色转换
- HEX
- #5b8224
- RGB
- rgb(91 130 36)
- HSL
- hsl(85 57% 33%)
- HWB
- hwb(85 14% 49%)
- OKLCH
- oklch(0.558 0.129 129.5)
- OKLab
- oklab(0.558 -0.082 0.1)
- CIE Lab
- lab(50.02 -25.52 43.6)
- LCH
- lch(50.02 50.52 120.3)
- CMYK
- cmyk(30% 0% 72% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 6A8E3E
- 7A9B55
- 8AA76A
- 9AB37F
- AAC094
- BACCA9
- CBD9BE
- DCE6D4
- EEF2E9
深色调
- 4E701E
- 415F18
- 354E12
- 293E0C
- 1E2F07
- 132004
- 091202
- 030600
- 000100
灰色调
- 5F8232
- 63823D
- 668247
- 6A8250
- 6E8259
- 718261
- 758169
- 798171
- 7C8179
配色和谐
互补色 +180°
- 5B8224
Enchanted Forest
- 8A5CAC
≈ Lusty Lavender
类似色 -30° +30°
- 5B8224
Enchanted Forest
- 857400
≈ Soft Fig
- 008A58
≈ Center Field
三角配色 +120° +240°
- 5B8224
Enchanted Forest
- 2C77BC
≈ Bluish
- B14F63
≈ Kissed by a Zombies
分裂互补色 +150° +210°
- 5B8224
Enchanted Forest
- 6669BE
≈ Bluish Purple Anemone
- A4528C
≈ Purple Zergling
四角配色 +90° +180° +270°
- 5B8224
Enchanted Forest
- 00819C
≈ Decore Splash
- 8A5CAC
≈ Lusty Lavender
- B25535
≈ Renga Brick
对比度与无障碍
Ag
AA白底
WCAG 4.50:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.66:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.66:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #5b8224;
--enchanted-forest-rgb: 91 130 36;
--enchanted-forest-oklch: oklch(0.558 0.129 129.5);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(85 57% 33%);
border-color: oklch(0.558 0.129 129.5);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5b8224;
--color-enchanted-forest-50: #e8fed7;
--color-enchanted-forest-100: #d9f2c5;
--color-enchanted-forest-200: #c1e0a7;
--color-enchanted-forest-300: #a0c57f;
--color-enchanted-forest-400: #86ad57;
--color-enchanted-forest-500: #6a962d;
--color-enchanted-forest-600: #5a7f28;
--color-enchanted-forest-700: #486620;
--color-enchanted-forest-800: #364a12;
--color-enchanted-forest-900: #25340c;
--color-enchanted-forest-950: #131f01;
}SCSS
$enchanted-forest: #5b8224;
$enchanted-forest-rgb: 91, 130, 36;
$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);
}