最接近的命名颜色 · #5C8215
#5C8215
最接近的命名颜色: Enchanted Forest
#5C8215(rgb(92 130 21)、hsl(81 72% 30%)、oklch(0.558 0.137 128))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5C8215
oklch(0.558 0.137 128)
颜色转换
- HEX
- #5c8215
- RGB
- rgb(92 130 21)
- HSL
- hsl(81 72% 30%)
- HWB
- hwb(81 8% 49%)
- OKLCH
- oklch(0.558 0.137 128)
- OKLab
- oklab(0.558 -0.085 0.108)
- CIE Lab
- lab(50.01 -25.74 48.67)
- LCH
- lch(50.01 55.06 117.9)
- CMYK
- cmyk(29% 0% 84% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 6B8E36
- 7A9B4F
- 8AA765
- 9AB37B
- AAC091
- BBCCA7
- CBD9BC
- DCE6D2
- EEF2E9
深色调
- 4F7011
- 425F0C
- 364E08
- 2A3E05
- 1F2F03
- 142002
- 0A1201
- 030600
- 000100
灰色调
- 608228
- 638236
- 678242
- 6B824C
- 6E8256
- 72825F
- 758167
- 798170
- 7C8178
配色和谐
互补色 +180°
- 5C8215
Enchanted Forest
- 8A5BB1
≈ Lusty Lavender
类似色 -30° +30°
- 5C8215
Enchanted Forest
- 867400
≈ Soft Fig
- 008A55
≈ Center Field
三角配色 +120° +240°
- 5C8215
Enchanted Forest
- 1D78C0
≈ Diva Blue
- B44C64
≈ Glamorous
分裂互补色 +150° +210°
- 5C8215
Enchanted Forest
- 6369C2
≈ Bluish Purple Anemone
- A5508F
≈ Plum Dust
四角配色 +90° +180° +270°
- 5C8215
Enchanted Forest
- 00819B
≈ Decore Splash
- 8A5BB1
≈ Lusty Lavender
- B55232
≈ 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: #5c8215;
--enchanted-forest-rgb: 92 130 21;
--enchanted-forest-oklch: oklch(0.558 0.137 128);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(81 72% 30%);
border-color: oklch(0.558 0.137 128);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5c8215;
--color-enchanted-forest-50: #e8fed5;
--color-enchanted-forest-100: #d9f2c2;
--color-enchanted-forest-200: #c1e1a2;
--color-enchanted-forest-300: #a0c679;
--color-enchanted-forest-400: #87ad4f;
--color-enchanted-forest-500: #6b961d;
--color-enchanted-forest-600: #5b7f1c;
--color-enchanted-forest-700: #496617;
--color-enchanted-forest-800: #364a0a;
--color-enchanted-forest-900: #253407;
--color-enchanted-forest-950: #141f00;
}SCSS
$enchanted-forest: #5c8215;
$enchanted-forest-rgb: 92, 130, 21;
$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);
}