最接近的命名颜色 · #628015
#628015
最接近的命名颜色: Enchanted Forest
#628015(rgb(98 128 21)、hsl(77 72% 29%)、oklch(0.557 0.132 125))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#628015
oklch(0.557 0.132 125)
颜色转换
- HEX
- #628015
- RGB
- rgb(98 128 21)
- HSL
- hsl(77 72% 29%)
- HWB
- hwb(77 8% 50%)
- OKLCH
- oklch(0.557 0.132 125)
- OKLab
- oklab(0.557 -0.076 0.108)
- CIE Lab
- lab(49.78 -22.35 48.66)
- LCH
- lch(49.78 53.55 114.7)
- CMYK
- cmyk(23% 0% 84% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 708C36
- 7F994E
- 8EA565
- 9DB27B
- ADBF91
- BDCBA7
- CDD8BC
- DEE5D2
- EEF2E9
深色调
- 546E11
- 475D0C
- 3A4D08
- 2D3D05
- 212E03
- 161F02
- 0B1201
- 030600
- 000100
灰色调
- 658028
- 688136
- 6B8142
- 6E814C
- 718156
- 74815F
- 778167
- 7A8170
- 7D8078
配色和谐
互补色 +180°
- 628015
Enchanted Forest
- 865DB1
≈ Lusty Lavender
类似色 -30° +30°
- 628015
Enchanted Forest
- 897200
≈ Vermin Brown
- 148950
≈ English Meadow
三角配色 +120° +240°
- 628015
Enchanted Forest
- 1779BB
≈ Deep Cerulean
- B14E69
≈ Gala Pink
分裂互补色 +150° +210°
- 628015
Enchanted Forest
- 5E6BC0
≈ Bluish Purple Anemone
- A15292
≈ Purple Zergling
四角配色 +90° +180° +270°
- 628015
Enchanted Forest
- 008297
≈ Cruising
- 865DB1
≈ Lusty Lavender
- B3523B
≈ Crimson Warrior
对比度与无障碍
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: #628015;
--enchanted-forest-rgb: 98 128 21;
--enchanted-forest-oklch: oklch(0.557 0.132 125);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(77 72% 29%);
border-color: oklch(0.557 0.132 125);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #628015;
--color-enchanted-forest-50: #ebfdd5;
--color-enchanted-forest-100: #dcf1c2;
--color-enchanted-forest-200: #c5dfa2;
--color-enchanted-forest-300: #a5c479;
--color-enchanted-forest-400: #8dac50;
--color-enchanted-forest-500: #72941d;
--color-enchanted-forest-600: #617d1c;
--color-enchanted-forest-700: #4d6417;
--color-enchanted-forest-800: #3a490b;
--color-enchanted-forest-900: #283307;
--color-enchanted-forest-950: #161e00;
}SCSS
$enchanted-forest: #628015;
$enchanted-forest-rgb: 98, 128, 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);
}