最接近的命名颜色 · #5E7F15
#5E7F15
最接近的命名颜色: Enchanted Forest
#5E7F15(rgb(94 127 21)、hsl(79 72% 29%)、oklch(0.551 0.133 126.4))最接近命名颜色 Enchanted Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5E7F15
oklch(0.551 0.133 126.4)
颜色转换
- HEX
- #5e7f15
- RGB
- rgb(94 127 21)
- HSL
- hsl(79 72% 29%)
- HWB
- hwb(79 8% 50%)
- OKLCH
- oklch(0.551 0.133 126.4)
- OKLab
- oklab(0.551 -0.079 0.107)
- CIE Lab
- lab(49.19 -23.56 48.02)
- LCH
- lch(49.19 53.49 116.1)
- CMYK
- cmyk(26% 0% 83% 50%)
浅色调 · 深色调 · 灰色调
浅色调
- 6D8C35
- 7C984E
- 8BA565
- 9BB17B
- ABBE90
- BBCBA6
- CCD8BC
- DDE5D2
- EEF2E8
深色调
- 516E11
- 445D0C
- 374C08
- 2B3C05
- 1F2D03
- 141F02
- 0A1101
- 030600
- 000100
灰色调
- 617F28
- 658036
- 688041
- 6B804C
- 6F8055
- 72815E
- 768167
- 798070
- 7D8078
配色和谐
互补色 +180°
- 5E7F15
Enchanted Forest
- 865BAE
≈ Lusty Lavender
类似色 -30° +30°
- 5E7F15
Enchanted Forest
- 867100
≈ Sunlit Kelp Green
- 018850
≈ Pixel Nature
三角配色 +120° +240°
- 5E7F15
Enchanted Forest
- 1A77BA
≈ Bumangués Blue
- B04C65
≈ Gala Pink
分裂互补色 +150° +210°
- 5E7F15
Enchanted Forest
- 5F68BE
≈ Bluish Purple Anemone
- A1508F
≈ La la Lavender
四角配色 +90° +180° +270°
- 5E7F15
Enchanted Forest
- 008097
≈ Pagoda
- 865BAE
≈ Lusty Lavender
- B15136
≈ Crimson Warrior
对比度与无障碍
Ag
AA白底
WCAG 4.64:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.52:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.64:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--enchanted-forest: #5e7f15;
--enchanted-forest-rgb: 94 127 21;
--enchanted-forest-oklch: oklch(0.551 0.133 126.4);
}
.element {
color: var(--enchanted-forest);
background-color: hsl(79 72% 29%);
border-color: oklch(0.551 0.133 126.4);
}Tailwind CSS v4
@theme {
--color-enchanted-forest: #5e7f15;
--color-enchanted-forest-50: #eafdd5;
--color-enchanted-forest-100: #dbf1c2;
--color-enchanted-forest-200: #c3e0a3;
--color-enchanted-forest-300: #a3c57a;
--color-enchanted-forest-400: #8aac51;
--color-enchanted-forest-500: #709520;
--color-enchanted-forest-600: #5f7e1e;
--color-enchanted-forest-700: #4b6518;
--color-enchanted-forest-800: #394a0c;
--color-enchanted-forest-900: #273308;
--color-enchanted-forest-950: #151f00;
}SCSS
$enchanted-forest: #5e7f15;
$enchanted-forest-rgb: 94, 127, 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);
}