最接近的命名颜色 · #588221
#588221
最接近的命名颜色: Enchanted Forest
#588221(rgb(88 130 33)、hsl(86 60% 32%)、oklch(0.556 0.133 130.3))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#588221
oklch(0.556 0.133 130.3)
颜色转换
- HEX
- #588221
- RGB
- rgb(88 130 33)
- HSL
- hsl(86 60% 32%)
- HWB
- hwb(86 13% 49%)
- OKLCH
- oklch(0.556 0.133 130.3)
- OKLab
- oklab(0.556 -0.086 0.101)
- CIE Lab
- lab(49.82 -26.85 44.47)
- LCH
- lch(49.82 51.95 121.1)
- CMYK
- cmyk(32% 0% 75% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 688E3C
- 779B53
- 88A769
- 98B37E
- A9C093
- B9CCA8
- CAD9BE
- DCE6D3
- EDF2E9
深色调
- 4B701B
- 3F5F16
- 334E10
- 283E0B
- 1D2F06
- 122003
- 091201
- 030600
- 000100
灰色调
- 5C8230
- 60823B
- 648246
- 68824F
- 6C8258
- 708260
- 748169
- 788171
- 7C8178
配色和谐
互补色 +180°
- 588221
Enchanted Forest
- 8B5AAC
≈ Lusty Lavender
类似色 -30° +30°
- 588221
Enchanted Forest
- 837400
≈ Soft Fig
- 00895A
≈ Vital Green
三角配色 +120° +240°
- 588221
Enchanted Forest
- 2A76BD
≈ Bluish
- B24D61
≈ Gala Pink
分裂互补色 +150° +210°
- 588221
Enchanted Forest
- 6668BF
≈ Bluish Purple Anemone
- A5508B
≈ Purple Zergling
四角配色 +90° +180° +270°
- 588221
Enchanted Forest
- 00809C
≈ Amazing Sky
- 8B5AAC
≈ Lusty Lavender
- B25430
≈ Renga Brick
对比度与无障碍
Ag
AA白底
WCAG 4.53:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.62:1 · APCA Lc 30
最佳文字颜色: #000000
WCAG 4.62:1 (AA) · APCA Lc 30
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #588221;
--enchanted-forest-rgb: 88 130 33;
--enchanted-forest-oklch: oklch(0.556 0.133 130.3);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(86 60% 32%);
border-color: oklch(0.556 0.133 130.3);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #588221;
--color-enchanted-forest-50: #e7fed7;
--color-enchanted-forest-100: #d7f2c4;
--color-enchanted-forest-200: #bfe1a6;
--color-enchanted-forest-300: #9ec67e;
--color-enchanted-forest-400: #84ae56;
--color-enchanted-forest-500: #67972a;
--color-enchanted-forest-600: #588026;
--color-enchanted-forest-700: #46661e;
--color-enchanted-forest-800: #344b11;
--color-enchanted-forest-900: #24340b;
--color-enchanted-forest-950: #131f01;
}SCSS
$enchanted-forest: #588221;
$enchanted-forest-rgb: 88, 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);
}