最接近的命名颜色 · #5E7F1F
#5E7F1F
最接近的命名颜色: Enchanted Forest
#5E7F1F(rgb(94 127 31)、hsl(81 61% 31%)、oklch(0.552 0.127 127))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5E7F1F
oklch(0.552 0.127 127)
颜色转换
- HEX
- #5e7f1f
- RGB
- rgb(94 127 31)
- HSL
- hsl(81 61% 31%)
- HWB
- hwb(81 12% 50%)
- OKLCH
- oklch(0.552 0.127 127)
- OKLab
- oklab(0.552 -0.076 0.101)
- CIE Lab
- lab(49.24 -23.18 44.82)
- LCH
- lch(49.24 50.46 117.3)
- CMYK
- cmyk(26% 0% 76% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 6D8C3B
- 7C9852
- 8BA568
- 9BB17D
- ABBE93
- BBCBA8
- CCD8BD
- DDE5D3
- EEF2E9
深色调
- 516E19
- 445D14
- 374C0F
- 2B3C0A
- 1F2D06
- 141F03
- 0A1101
- 030600
- 000100
灰色调
- 617F2E
- 65803A
- 688045
- 6C804E
- 6F8057
- 728060
- 768068
- 798070
- 7D8078
配色和谐
互补色 +180°
- 5E7F1F
Enchanted Forest
- 865CAC
≈ Lusty Lavender
类似色 -30° +30°
- 5E7F1F
Enchanted Forest
- 857100
≈ Sunlit Kelp Green
- 118853
≈ Pixel Nature
三角配色 +120° +240°
- 5E7F1F
Enchanted Forest
- 2477B8
≈ Bluish
- AE4E65
≈ Gala Pink
分裂互补色 +150° +210°
- 5E7F1F
Enchanted Forest
- 6069BB
≈ Bluish Purple Anemone
- A0528D
≈ Purple Zergling
四角配色 +90° +180° +270°
- 5E7F1F
Enchanted Forest
- 008097
≈ Pagoda
- 865CAC
≈ Lusty Lavender
- AF5339
≈ Crimson Warrior
对比度与无障碍
Ag
AA白底
WCAG 4.63:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.53:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #5e7f1f;
--enchanted-forest-rgb: 94 127 31;
--enchanted-forest-oklch: oklch(0.552 0.127 127);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(81 61% 31%);
border-color: oklch(0.552 0.127 127);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5e7f1f;
--color-enchanted-forest-50: #eafdd7;
--color-enchanted-forest-100: #dbf1c4;
--color-enchanted-forest-200: #c4dfa6;
--color-enchanted-forest-300: #a3c47e;
--color-enchanted-forest-400: #8aac56;
--color-enchanted-forest-500: #6f952a;
--color-enchanted-forest-600: #5e7e26;
--color-enchanted-forest-700: #4b651e;
--color-enchanted-forest-800: #384a11;
--color-enchanted-forest-900: #27330b;
--color-enchanted-forest-950: #151f01;
}SCSS
$enchanted-forest: #5e7f1f;
$enchanted-forest-rgb: 94, 127, 31;
$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);
}